Documentation ¶
Index ¶
- func Error(str string, args ...interface{})
- func Fatal(str string, args ...interface{})
- func GetKey(params ...interface{}) string
- func GetLogger() log.Logger
- func ImageURLCleaner(str string) string
- func Info(str string, args ...interface{})
- func InitLog(t log.LogType, lvl log.LogLevel, json, color bool) (err error)
- func Log(field map[string]interface{})
- func Recoverer(next http.Handler) http.Handler
- func RespondWithCSS(w http.ResponseWriter, statusCode int, data string, err error)
- func Validate(data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageURLCleaner ¶
ImageURLCleaner to clean mal image cover url.
func RespondWithCSS ¶
func RespondWithCSS(w http.ResponseWriter, statusCode int, data string, err error)
RespondWithCSS to write response with CSS format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.