Documentation ¶
Index ¶
- func DirExists(dirName string) bool
- func DoRequest(app App, method, url, body string) (*http.Response, int, string, error)
- func FileExists(filename string) bool
- func Hash(content string) []byte
- func HashBytes(content ...[]byte) []byte
- func Lock(resource string) (func() error, error)
- func LogDebug(message string, fields ...zap.Field)
- func LogError(message string, fields ...zap.Field)
- func LogFatal(message string, fields ...zap.Field)
- func LogInfo(message string, fields ...zap.Field)
- func LogWarn(message string, fields ...zap.Field)
- func LoggerInstance() *zap.Logger
- func LoggerWith(fields ...zap.Field) *zap.Logger
- func RandString(n int) string
- func SetDebug()
- func SetTestStorage()
- type App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func LoggerInstance ¶
func SetTestStorage ¶
func SetTestStorage()
Types ¶
Click to show internal directories.
Click to hide internal directories.