package
Version:
v0.0.0-...-396a26a
Opens a new window with list of versions in this module.
Published: Dec 28, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Book struct {
Id int64 `gorm:"primaryKey" json:"id"`
Title string `gorm:"type:varchar(300)" json:"title"`
Description string `gorm:"type:text" json:"description"`
Author string `gorm:"type:varchar(300)" json:"author"`
PublishDate string `gorm:"type:date" json:"publish_date"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.