package
Version:
v0.0.0-...-9615aeb
Opens a new window with list of versions in this module.
Published: Apr 4, 2020
License: MIT
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 Package struct {
gorm.Model
Data string `sql:"type:JSONB NOT NULL DEFAULT '{}'::JSONB"`
}
type Shipment struct {
gorm.Model
Packages []Package
Data string `sql:"type:JSONB NOT NULL DEFAULT '{}'::JSONB" json:"-"`
}
GORM creates tables with plural names. Use this to suppress it
Source Files
¶
Click to show internal directories.
Click to hide internal directories.