Documentation ¶
Index ¶
- Variables
- func CheckNotExist(src string) bool
- func CheckPermission(src string) bool
- func Debug(v ...interface{})
- func Error(v ...interface{})
- func Fatal(v ...interface{})
- func GetExt(fileName string) string
- func GetSize(f multipart.File) (int, error)
- func Info(v ...interface{})
- func IsNotExistMkDir(src string) error
- func MkDir(src string) error
- func MustOpen(fileName, filePath string) (*os.File, error)
- func Open(name string, flag int, perm os.FileMode) (*os.File, error)
- func Setup()
- func SetupTest()
- func Warn(v ...interface{})
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // F file opened F *os.File // DefaultPrefix default prefix DefaultPrefix = "" // DefaultCallerDepth default caller depeth DefaultCallerDepth = 2 )
Functions ¶
func CheckPermission ¶
CheckPermission check if the file has permission
func IsNotExistMkDir ¶
IsNotExistMkDir create a directory if it does not exist
Types ¶
Click to show internal directories.
Click to hide internal directories.