Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIBodyValidationError ¶
func MustGetBody ¶
func MustGetBody[T any](r *http.Request) (T, *APIBodyValidationError)
type ValidationError ¶
func Validate ¶
func Validate[T any](v T) []*ValidationError
Click to show internal directories.
Click to hide internal directories.