package
Version:
v0.0.0-...-cfeac3e
Opens a new window with list of versions in this module.
Published: Oct 15, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type NewPerson struct {
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
}
type Person struct {
ID uint `gorm:"primary_key" json:"id"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.