Documentation ¶
Index ¶
- func BindValidateStruct(ctx echo.Context, i interface{}) error
- func GenerateJwtToken(user models.User) (string, error)
- func InArray(v interface{}, in interface{}) (ok bool, i int)
- func LOG(title string, i interface{}, end bool)
- func ReplaceSQL(old, searchPattern string) string
- func ResponseJSON(success bool, code string, msg string, result interface{}) models.Response
- func WeekRange(year, week int) (start, end time.Time)
- func WeekStart(year, week int) time.Time
- type JwtClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindValidateStruct ¶
func ResponseJSON ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.