Versions in this module Expand all Collapse all v0 v0.6.0 Mar 8, 2022 v0.5.9 Dec 4, 2020 v0.5.8 Jun 27, 2020 Changes in this version + func CallerName(short bool) string + func CallerNameSkip(skip int, short bool) string type Name + func NameOf(x string) Name v0.5.7 Jun 7, 2020 Changes in this version + func VarName(args ...interface{}) []string + func VarNameDepth(skip int, args ...interface{}) []string + type Name struct + X string + Y string + func (n Name) VarName(args ...interface{}) []string + func (n Name) VarNameDepth(skip int, args ...interface{}) (names []string) + func (name Name) Compact(args ...interface{}) (paramNames []string, paramAndValues map[string]interface{}) + func (name Name) DepthCompact(depth int, args ...interface{}) (paramNames []string, paramAndValues map[string]interface{}) v0.5.6 Sep 25, 2019 Changes in this version + const PtrSize + type FuncHeader struct + Doc string + In []*Parameter + Name string + Out []*Parameter + func GetFuncHeader(originFunc interface{}) (fh FuncHeader, err error) + func GetFuncHeaderNoCache(originFunc interface{}) (fh FuncHeader, err error) + func (fh *FuncHeader) Encode() string + func (fh *FuncHeader) Equals(other *FuncHeader) bool + type Parameter struct + Name string + RType reflect.Type