Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { ID uint Name string Phone string Zip string Line1 string Line2 string City string State string Country string CreatedAt time.Time UpdatedAt time.Time User *nut.User }
Address address http://www.bitboost.com/ref/international-address-formats.html#Formats
type Journal ¶
type Journal struct { ID uint Action string Quantity int Variant *Variant User *nut.User CreatedAt time.Time }
Journal journal
type Plugin ¶
type Plugin struct { I18n *web.I18n `inject:""` Cache *web.Cache `inject:""` Jwt *web.Jwt `inject:""` Router *gin.Engine `inject:""` DB *gorm.DB `inject:""` Render *render.Render `inject:""` }
Plugin plugin
type Product ¶
type Product struct { ID uint Name string Description string Type string CreatedAt time.Time UpdatedAt time.Time Store *Store Vendor *Vendor Tags []*Tag Variants []*Variant }
Product product
type Property ¶
type Property struct { ID uint Key string Val string Variant *Variant CreatedAt time.Time UpdatedAt time.Time }
Property property
type Store ¶
type Store struct { ID uint Name string Description string Type string Currency string Metric bool CreatedAt time.Time UpdatedAt time.Time Owner *nut.User Address *Address }
Store store
type Tag ¶
type Tag struct { ID uint Name string Description string Type string CreatedAt time.Time UpdatedAt time.Time Products []*Product }
Tag tag
Click to show internal directories.
Click to hide internal directories.