Documentation ¶
Index ¶
- Variables
- func Bind(form interface{}, structs interface{}) interface{}
- func ClientIP(c echo.Context) string
- func DateNil(dt interface{}) interface{}
- func DateParse(d interface{}, format string) *time.Time
- func InArray(val interface{}, arrays interface{}) bool
- func JsonDecode(data interface{}) (maps map[string]interface{}, err error)
- func JsonEncode(data interface{}) string
- func LoggerDebug(msg string)
- func LoggerError(err error)
- func LoggerInfo(message string)
- func LoggerSuccess(message string)
- func LoggerWarning(message string)
- func RandStringBytes(n int) string
- func UUID() string
- func Validate(c echo.Context, i interface{}) (interface{}, error)
- func ValidateRPC(i interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Validates *validator.Validate
Functions ¶
func JsonDecode ¶
func JsonEncode ¶
func JsonEncode(data interface{}) string
func LoggerDebug ¶
func LoggerDebug(msg string)
func LoggerError ¶
func LoggerError(err error)
func LoggerInfo ¶
func LoggerInfo(message string)
func LoggerSuccess ¶
func LoggerSuccess(message string)
func LoggerWarning ¶
func LoggerWarning(message string)
func RandStringBytes ¶
func ValidateRPC ¶
func ValidateRPC(i interface{}) (interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.