github.com/gogf/gf/v2@v2.7.4/text/gstr/gstr.go (about) 1 // Copyright GoFrame Author(https://goframe.org). All Rights Reserved. 2 // 3 // This Source Code Form is subject to the terms of the MIT License. 4 // If a copy of the MIT was not distributed with this file, 5 // You can obtain one at https://github.com/gogf/gf. 6 7 // Package gstr provides functions for string handling. 8 package gstr 9 10 const ( 11 // NotFoundIndex is the position index for string not found in searching functions. 12 NotFoundIndex = -1 13 ) 14 15 const ( 16 defaultSuffixForStrLimit = "..." 17 )