Versions in this module Expand all Collapse all v1 v1.1.0 Apr 5, 2021 Changes in this version + const DateOnly + const DateTime + const HTMLDateTimeLocal + const ParamsKey + var FilteredKeys []string + var KnownAbbreviations = []string + func CORSHeaders(fn http.HandlerFunc) httprouter.Handle + func CamelToSnakeCase(str string) string + func EnableGZIP(fn httprouter.Handle) httprouter.Handle + func GeneralJSONResponse(fn http.HandlerFunc) httprouter.Handle + func GeneralResponse(fn http.HandlerFunc) httprouter.Handle + func JSONResp(fn httprouter.Handle) httprouter.Handle + func MakeFirstUpperCase(s string) string + func MakeHTTPRouterParsedReq(fn httprouter.Handle) httprouter.Handle + func MakeParsedReq(fn http.HandlerFunc) http.HandlerFunc + func SendCORS(w http.ResponseWriter, req *http.Request) + func SnakeToCamelCase(str string, ucFirst bool) string + func UniqueUint64(in []uint64) []uint64 + type CustomTypeHandler func(field *reflect.Value, value interface{}) error + var CustomTypeSetter CustomTypeHandler + type Params struct + Values map[string]interface{} + func GetParams(req *http.Request) *Params + func ParseParams(req *http.Request) *Params + func (p *Params) Clone() *Params + func (p *Params) Get(key string) (interface{}, bool) + func (p *Params) GetBool(key string) bool + func (p *Params) GetBoolOk(key string) (bool, bool) + func (p *Params) GetBytes(key string) []byte + func (p *Params) GetBytesOk(key string) ([]byte, bool) + func (p *Params) GetFileOk(key string) (*multipart.FileHeader, bool) + func (p *Params) GetFloat(key string) float64 + func (p *Params) GetFloatOk(key string) (float64, bool) + func (p *Params) GetFloatSlice(key string) []float64 + func (p *Params) GetFloatSliceOk(key string) ([]float64, bool) + func (p *Params) GetInt(key string) int + func (p *Params) GetInt16(key string) int16 + func (p *Params) GetInt16Ok(key string) (int16, bool) + func (p *Params) GetInt32(key string) int32 + func (p *Params) GetInt32Ok(key string) (int32, bool) + func (p *Params) GetInt64(key string) int64 + func (p *Params) GetInt64Ok(key string) (int64, bool) + func (p *Params) GetInt8(key string) int8 + func (p *Params) GetInt8Ok(key string) (int8, bool) + func (p *Params) GetIntOk(key string) (int, bool) + func (p *Params) GetIntSlice(key string) []int + func (p *Params) GetIntSliceOk(key string) ([]int, bool) + func (p *Params) GetJSON(key string) map[string]interface{} + func (p *Params) GetJSONOk(key string) (map[string]interface{}, bool) + func (p *Params) GetString(key string) string + func (p *Params) GetStringOk(key string) (string, bool) + func (p *Params) GetStringSlice(key string) []string + func (p *Params) GetStringSliceOk(key string) ([]string, bool) + func (p *Params) GetTime(key string) time.Time + func (p *Params) GetTimeInLocation(key string, loc *time.Location) time.Time + func (p *Params) GetTimeInLocationOk(key string, loc *time.Location) (time.Time, bool) + func (p *Params) GetTimeOk(key string) (time.Time, bool) + func (p *Params) GetUint64(key string) uint64 + func (p *Params) GetUint64Ok(key string) (uint64, bool) + func (p *Params) GetUint64Slice(key string) []uint64 + func (p *Params) GetUint64SliceOk(key string) ([]uint64, bool) + func (p *Params) HasAll(keys ...string) (bool, []string) + func (p *Params) Imbue(obj interface{}) + func (p *Params) Permit(allowedKeys []string)