Documentation ¶
Index ¶
- Variables
- func Array(list []string, index int, arg ...interface{}) []string
- func Block(root interface{}, args ...interface{}) interface{}
- func Chain(root interface{}, args ...interface{}) interface{}
- func Chains(root interface{}, args ...interface{}) string
- func Check(e error) bool
- func Debugf(str string, args ...interface{})
- func DirWalk(file string, hand func(file string))
- func Duration(arg ...string) time.Duration
- func Elect(last interface{}, args ...interface{}) string
- func Env(key string)
- func Errorf(str string, args ...interface{})
- func FileName(name string, meta ...string) string
- func FmtNano(nano int64) string
- func FmtSize(size uint64) string
- func Format(arg ...interface{}) string
- func Formats(arg ...interface{}) string
- func Hash(arg ...interface{}) (string, []string)
- func Hashs(arg ...interface{}) string
- func Int(arg ...interface{}) int
- func Int64(arg ...interface{}) int64
- func Key(name string) string
- func Len(arg interface{}) int
- func Link(name string, url string) string
- func Log(action string, str string, args ...interface{})
- func Right(arg ...interface{}) bool
- func Select(value string, args ...interface{}) string
- func Simple(str string) string
- func Slice(arg []string, args ...interface{}) ([]string, string)
- func Struct(arg ...interface{}) map[string]interface{}
- func Structm(args ...interface{}) map[string]interface{}
- func Time(arg ...string) int
- func Trans(arg ...interface{}) []string
- func View(args []string, conf map[string]interface{}) []string
- func Width(str string, mul int) int
- type TERM
Constants ¶
This section is empty.
Variables ¶
View Source
var DisableLog = false
View Source
var EnableDebug = false
Functions ¶
func Block ¶ added in v1.1.1
func Block(root interface{}, args ...interface{}) interface{}
func Chain ¶ added in v1.1.1
func Chain(root interface{}, args ...interface{}) interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.