Documentation ¶
Index ¶
- Variables
- func Compact(args ...interface{}) (paramNames []string, paramAndValues map[string]interface{})
- func DD(args ...interface{})
- func DepthCompact(depth int, args ...interface{}) (paramNames []string, paramAndValues map[string]interface{})
- func DepthDump(depth int, args ...interface{})
- func Dump(args ...interface{})
- func G() *rwmap
- func GetExprName(expr ast.Expr) (name string)
- func GoID() int
- func IsScala(v interface{}) bool
- func VarName(args ...interface{}) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MaxSliceLen = 32 MaxMapLen = 32 SepKv = " => " Out io.Writer = os.Stdout // StringQuota = `"` )
Functions ¶
func Compact ¶
Compact 将多个变量打包到一个字典里 a,b:=1,2 Comapct(a, b) => {"a":1,"b":2} 参考自 http://php.net/manual/zh/function.compact.php
func DepthCompact ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.