Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSnakeCase ¶
func Validate ¶
func Validate(v Validatable, prefix string) error
Types ¶
type Command ¶
type Command interface { Validatable }
type CreateToken ¶
func (*CreateToken) Validate ¶
func (c *CreateToken) Validate() error
type DeleteToken ¶
func (*DeleteToken) Validate ¶
func (c *DeleteToken) Validate() error
type ResetToken ¶
func (*ResetToken) Validate ¶
func (c *ResetToken) Validate() error
type Validatable ¶
type Validatable interface {
Validate() error
}
Click to show internal directories.
Click to hide internal directories.