Documentation ¶
Overview ¶
Package struct defines utilities for struct types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxFields ¶
MaxFields validates the maximum number of fields that are part of a struct. It can only be used as a validator, for instance `MaxFields(3)`.
Only fields that are part of the data model count. This excludes hidden fields, optional fields, and definitions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.