Categorygithub.com/oftn-oswg/secureform
modulepackage
0.0.0-20180523042656-55f6e392476b
Repository: https://github.com/oftn-oswg/secureform.git
Documentation: pkg.go.dev

# README

secureform GoDoc Go Report Card Coverage

Go package to easily and securely validate form field values.

go get github.com/oftn-oswg/secureform

# Functions

NewParser allocates and returns a new Parser with the specified properties.

# Variables

ErrExpectedStructPtr is produced when a type other than a struct pointer is passed to be populated.
ErrInvalidKind is produced when a struct field has an unsupported type.
ErrValidMax is produced when a form value or string length is too large.
ErrValidMin is produced when a form value or string length is too small.

# Structs

FieldError is an error that relates to a specific struct field.
File represents a form input element such as <input type="file" />.
Parser defines the security parameters for form parsing.

# Interfaces

Type represents an arbitrary interface for parsing.