Documentation
¶
Index ¶
- func Author() string
- func Expand(s string, m map[string]interface{}) string
- func IsLetter(s uint8) bool
- func IsLetters(s string) bool
- func IsNumeric(s string) bool
- func Join(v interface{}, sep string) string
- func LastInIndex(s, f string) int
- func License() string
- func Reverse(s string) string
- func ToCamel(s string) string
- func ToSnake(s string) string
- func ToString(v interface{}) string
- func Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expand ¶
Expand replaces {var} of string s based on the value map m For example, Expand("i am {name}", map[string]interface{}{"name": "Li Kexian"})
func LastInIndex ¶
LastInIndex find last position at first index
for example, LastInIndex("{{{{{{{{{{name}", "{") ↑
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.