Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { // gorm.Model ID string `json:"id" dynamo:"id" gorm:"primaryKey"` Title string `json:"title" dynamo:"title" validate:"required"` Author string `json:"author" dynamo:"author" validate:"required"` Year string `json:"year" dynamo:"year" validate:"required"` CreatedAt time.Time `json:"created_at" dynamo:"created_at"` UpdatedAt time.Time `json:"updated_at" dynamo:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.