Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Beer ¶
type Beer struct { // required: true // example: 1 ID int `json:"id" db:"beer_id"` // required: true // example: Golden Name string `json:"name" db:"name"` // required: true // example: Kross Brewery string `json:"brewery" db:"brewery"` // required: true // example: Chile Country string `json:"country" db:"country"` // required: true // example: 10.5 Price float32 `json:"price" db:"price"` // required: true // example: EUR Currency string `json:"currency" db:"currency"` CreatedAt time.Time `json:"-" db:"created_at"` UpdatedAt *time.Time `json:"-" db:"updated_at"` }
Beer represents a beer record.
swagger:model
Click to show internal directories.
Click to hide internal directories.