Documentation ¶
Index ¶
- Variables
- func CheckErrWithStatus(err error)
- func CheckExist(p string) bool
- func CheckFile(fp string) error
- func CheckFolder(fp string) error
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) error
- func CurrentDir() string
- func Error(err error)
- func ExtractInitials(s string) string
- func FindModPath(deep int) (string, error)
- func GetModName() (mod string)
- func InStrArr(arr []string, aim string) bool
- func Info(s string)
- func LoadFiles(dir string, filter func(filename string) bool) (filenames []string)
- func ParseStruct(filename string, src []byte) (structMap map[string]StructFields, err error)
- func RemoveExt(filename string) string
- func SaveToFile(p string, cnt []byte, cover bool) (err error)
- func Tar(sources []string, target string) error
- type StructFields
Constants ¶
This section is empty.
Variables ¶
View Source
var CST = time.FixedZone("CST", 8*3600)
View Source
var (
ErrNotFoundMod = errors.New("not found mod file path")
)
Functions ¶
func CheckErrWithStatus ¶
func CheckErrWithStatus(err error)
func CheckExist ¶
func CheckFolder ¶
func CurrentDir ¶
func CurrentDir() string
func ExtractInitials ¶
func FindModPath ¶
func GetModName ¶
func GetModName() (mod string)
func ParseStruct ¶
func ParseStruct(filename string, src []byte) (structMap map[string]StructFields, err error)
Types ¶
type StructFields ¶
Click to show internal directories.
Click to hide internal directories.