Documentation ¶
Index ¶
- Constants
- func ENUM(values ...string) []string
- func GetAsBool(key string, r *http.Request) *bool
- func GetAsFloat32(key string, r *http.Request) *float32
- func GetAsInt(key string, r *http.Request) *int
- func GetAsInt32(key string, r *http.Request) *int32
- func GetAsInt64(key string, r *http.Request) *int64
- func GetAsString(key string, r *http.Request) *string
- func GetAsTime(key string, r *http.Request) *time.Time
- func ParseBool(value string, key string, validatedMap R, errors *[]error)
- func ParseDate(value string, key string, format string, validatedMap R, errors *[]error)
- func ParseEnum(value string, enum []string, key string, validatedMap R, errors *[]error)
- func ParseFloat(value string, key string, bits int, validatedMap R, errors *[]error)
- func ParseInt(value string, key string, bits int, validatedMap R, errors *[]error)
- func ParseString(value string, key string, validatedMap R, errors *[]error)
- func ValidateParams(requirement R, actual map[string]string, destination R, required bool) error
- type R
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ParseFloat ¶
func ParseString ¶ added in v1.0.31
Types ¶
Click to show internal directories.
Click to hide internal directories.