Versions in this module Expand all Collapse all v0 v0.0.3 Feb 23, 2023 Changes in this version + const FileSep + func FileNumInDir(dir string) int + func FileWalk(dir string, onlyDir bool, fn func(absPath string, fileInfo os.FileInfo) bool) + func GetCurrentAbPathByCaller() string + func GetRootDir() string + func GetValueFromType(e ast.Expr) string + func HandleError(e error) + func HandleErrorWithMsg(e error, msg ...string) + func IfF(condition bool, resultF func()) + func ImportName(i string) string + func Info(msg string, fields ...zap.Field) + func Panic(msg string, fields ...zap.Field) + func PathJoin(paths ...string) string + func PrintDetail(objectName string, i interface{}) + func Record(fields ...zap.Field) + func StringsEqual(s, t []string) bool + func Timer(name string, fn func()) + func Times(t int, f func(int)) + func ToMap(a []T) map[T]struct + func TypeString(i interface{}) string + func Warn(msg string, fields ...zap.Field) + type ConfigChecker struct + func (c ConfigChecker) CheckInterface(interfaceName string, method string, returnDefaultValues string) + func (c ConfigChecker) CheckModuleName(module string) + func (c ConfigChecker) CheckProjectDir(dir string) + func (c ConfigChecker) CheckWritePaths(paths []string) + type EmptyStruct = struct