package
2.13.1
Repository: https://github.com/go-generalize/api_gen.git
Documentation: pkg.go.dev

# Functions

GetFileFields returns fields for files.
GetMultipartUploadType checks t is *multipart.FileHeader or []*multipart.FileHeader Multipart data in map are not supported.
Parse parses.
ValidateMultipartUploadType checks t is *multipart.FileHeader or []*multipart.FileHeader And validate form tag.

# Constants

DELETE is method for HTTP.
FormTagKey is a tag key for fields uploaded in multipart.
GET is GET method for HTTP.
JSONParamTag is the tag name for JSON.
PATCH is method for HTTP.
POST
POST is POST method for HTTP.
PUT is PUT method for HTTP.
QueryParamTag is the tag name for parameters in query.
UploadMultipleFiles means the field is a slice of files.
UploadNone means no the field is not a file.
UploadSingleFile means the field is a file.

# Structs

Endpoint represents one HTTP endpoint.
FileField is a result type for GetFileFields.
Group is a layer for endpoints.
MultipartHeader is mime/multipart.FileHeader.

# Type aliases

MethodType represents methods for HTTP.
MultipartUploadType is a type.