gstr.go 487 B

1234567891011121314151617
  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. // Package gstr provides functions for string handling.
  7. package gstr
  8. const (
  9. // NotFoundIndex is the position index for string not found in searching functions.
  10. NotFoundIndex = -1
  11. )
  12. const (
  13. defaultSuffixForStrLimit = "..."
  14. )