package
Version:
v0.0.0-...-d808fcf
Opens a new window with list of versions in this module.
Published: Jun 27, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Basic struct {
ID
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Deleted bool `json:"deleted"`
DeletedAt time.Time `json:"deleted_at"`
}
Basic handles api basic data
FromDB sets db data to api data
ToDB sets api data to db data
type ID struct {
ID string `json:"id"`
}
ID handles api id data
FromDB sets db data to api data
ToDB sets api data to db data
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.