Documentation ¶
Index ¶
- Variables
- func ByteAppend(b ...[]byte) []byte
- func HasEmpty(args ...string) bool
- func HasLower(s string) bool
- func HasUpper(s string) bool
- func ID() xid.ID
- func IsAlpha(s string) bool
- func IsAlphanumeric(s string) bool
- func IsLower(s string) bool
- func IsMatch(and bool, opts ...MatchOption) bool
- func IsNumeric(s string) bool
- func IsUpper(s string) bool
- func LastLine(s string) string
- func LastLineByte(buf []byte) []byte
- func New(keyword ...string) *trie.Trie
- func Replaces(s string, rs ...ReplacePoint) string
- func Split(s string, sep string) []string
- func StringAppend(ss ...string) string
- func ToBytes(s string) []byte
- func ToString(b []byte) string
- func UpperCaseToUnderScore(s string) string
- type MatchOption
- type MatchProxy
- type ReplacePoint
Constants ¶
This section is empty.
Variables ¶
View Source
var Enter string
Functions ¶
func ByteAppend ¶
func IsAlphanumeric ¶
IsAlphanumeric checks if the string contains only Unicode letters or digits.
func IsMatch ¶
func IsMatch(and bool, opts ...MatchOption) bool
func IsNumeric ¶
IsNumeric Checks if the string contains only digits. A decimal point is not a digit and returns false.
func LastLineByte ¶
func Replaces ¶
func Replaces(s string, rs ...ReplacePoint) string
func StringAppend ¶
func UpperCaseToUnderScore ¶
Types ¶
type MatchOption ¶
type MatchOption func(m *MatchProxy)
func WithRawString ¶
func WithRawString(s string) MatchOption
type MatchProxy ¶
type ReplacePoint ¶
Click to show internal directories.
Click to hide internal directories.