Documentation ¶
Index ¶
- Constants
- func CallerFile(skipStack int) string
- func CallerFileName(skipStack int) string
- func Env(key, fallback string) string
- func EnvInt(key string) int
- func EnvLookup(key string) (string, bool)
- func EnvUint(key string) uint
- func OnExit(handlers ...func(os.Signal))
- func RandInit()
- func RandLetterBytes(n int) []byte
- func RandString(n int) string
- func Workdir() string
Constants ¶
View Source
const ( KB int64 MB GB )
FileSize util
Variables ¶
This section is empty.
Functions ¶
func CallerFileName ¶
CallerFileName returns name of caller file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.