Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
ID int64 `column:"id" option:"pk" json:"id"`
Title string `column:"title" json:"title"`
Author string `column:"author" json:"author"`
UpdatedAt time.Time `column:"updated_at" option:"now" json:"update_at"`
CreatedAt time.Time `column:"created_at" option:"now,no_update" json:"created_at"`
}
Book represented book model @dbrepo (table:"books" dialect:"postgres" ctor_db:"pg")
Click to show internal directories.
Click to hide internal directories.