Documentation ¶
Index ¶
- func Add(y int, x int) int
- func AlignLeft(size int, str string) string
- func AlignRight(size int, str string) string
- func Capitalize(str string) string
- func Center(size int, str string) string
- func Compile(s string, d map[string]interface{}) (*bytes.Buffer, error)
- func Date(args ...interface{}) string
- func Default(def interface{}, inpOpt ...interface{}) interface{}
- func Div(y int, x int) int
- func Even(x int) bool
- func Join(sep string, inp []interface{}) string
- func Keys(inp interface{}) (interface{}, error)
- func Last(i int, inp interface{}) (bool, error)
- func Map(inp interface{}) bool
- func Mul(y int, x int) int
- func Odd(x int) bool
- func Random(size int) int
- func Repeat(rep int, inp string) string
- func Replace(oldStr string, newStr string, str string) string
- func Split(sep string, inp string) []interface{}
- func Sub(y int, x int) int
- func Trim(trim string, str string) string
- func TrimLeft(trim string, str string) string
- func TrimRight(trim string, str string) string
- func Type(inp interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
Capitalize capitalizes first character in string.
func Default ¶
func Default(def interface{}, inpOpt ...interface{}) interface{}
Default returns default if argument is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.