package
Version:
v0.0.0-...-08ef0fc
Opens a new window with list of versions in this module.
Published: May 19, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Car struct {
ID uint `gorm:"primarykey" json:"id"`
Brand string `json:"brand"`
Color string `json:"color"`
Seats uint8 `json:"seats"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.