Documentation
¶
Index ¶
- Variables
- func ReadFile(r *http.Request, fileName string, required bool, maxFileSize int64) (multipart.File, *multipart.FileHeader, error)
- func ReadForm(r *http.Request, dst interface{}) error
- func ReadJson(r *http.Request, dst interface{}) error
- func WriteJson(w http.ResponseWriter, status int, v interface{}, headers http.Header) error
- type Map
- type Validator
- func (v *Validator) Add(key, value string)
- func (v *Validator) Check(ok bool, key, value string)
- func (v *Validator) In(value string, list ...string) bool
- func (v *Validator) IsValid() bool
- func (v *Validator) ReadCSV(qs url.Values, key string, defaultValue []string) []string
- func (v *Validator) ReadInt(qs url.Values, key string, defaultValue int) int
- func (v *Validator) ReadString(qs url.Values, key, defaultValue string) string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.