stringutil

package
v0.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStringGap

func AddStringGap(str string, min int, gap int) string

func CamelToUnder

func CamelToUnder(str string) string

func Capitalize

func Capitalize(str string) string

func CopyString

func CopyString(str string) string

func FirstToLower

func FirstToLower(str string) string

func FirstToUpper

func FirstToUpper(str string) string

func LocalPath

func LocalPath() string

func RandString

func RandString(len int) string

func SplitCamelCase

func SplitCamelCase(src string) []string

func SplitCamelCaseCapitalize

func SplitCamelCaseCapitalize(src string) (entries []string)

func SplitCamelCaseCapitalizeSlash

func SplitCamelCaseCapitalizeSlash(src string) string

func SplitCamelCaseLower

func SplitCamelCaseLower(src string) (entries []string)

func SplitCamelCaseLowerSlash

func SplitCamelCaseLowerSlash(src string) string

func SplitCamelCaseUpper

func SplitCamelCaseUpper(src string) (entries []string)

func SplitCamelCaseUpperSlash

func SplitCamelCaseUpperSlash(src string) string

func SplitInt32Array added in v0.0.6

func SplitInt32Array(s string, split string) ([]int32, error)

func SplitInt32Map added in v0.0.6

func SplitInt32Map(s string, split string, mapSep string) (map[int32]int32, error)

func SplitInt64Array added in v0.0.6

func SplitInt64Array(s string, split string) ([]int64, error)

func SplitIntArray added in v0.0.6

func SplitIntArray(s string, split string) ([]int, error)

func StartWithCapital

func StartWithCapital(str string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL