Documentation ¶
Index ¶
- func GenUUID() string
- func GetJsonFromRequest(r *http.Request, v interface{}) error
- func GetJsonFromResponse(r *http.Response, v interface{}) error
- func SortedStringHas(s sort.StringSlice, x string) bool
- func SortedStringsDelete(s sort.StringSlice, x string) sort.StringSlice
- type LogLevel
- type Logger
- func (l *Logger) Critical(format string, v ...interface{})
- func (l *Logger) Debug(format string, v ...interface{})
- func (l *Logger) Err(err error)
- func (l *Logger) Info(format string, v ...interface{})
- func (l *Logger) Level() LogLevel
- func (l *Logger) LogError(format string, v ...interface{})
- func (l *Logger) SetLevel(level LogLevel)
- func (l *Logger) Warning(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJsonFromRequest ¶
func GetJsonFromResponse ¶
func SortedStringHas ¶
func SortedStringHas(s sort.StringSlice, x string) bool
func SortedStringsDelete ¶
func SortedStringsDelete(s sort.StringSlice, x string) sort.StringSlice
Types ¶
Click to show internal directories.
Click to hide internal directories.