Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { ID uint64 `json:"id" gorm:"primaryKey;autoIncrement;->"` Firstname string `json:"firstname" gorm:"size:255" validate:"required,min=1,max=255"` Surname string `json:"surname" gorm:"size:255" validate:"required,min=1,max=255"` }
Author represents an author entity with ID, Firstname, and Surname.
Click to show internal directories.
Click to hide internal directories.