Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recipe ¶
type Recipe struct {
ID int64 `bun:"id,pk,autoincrement"`
Name string `bun:"name,notnull"`
CreatedAt time.Time `bun:",nullzero,notnull,default:current_timestamp"`
UpdatedAt time.Time `bun:",nullzero,notnull,default:current_timestamp"`
DeletedAt time.Time `bun:",soft_delete,nullzero"` //Enable soft deletes on the model.
}
Click to show internal directories.
Click to hide internal directories.