package
Version:
v0.0.0-...-0590b23
Opens a new window with list of versions in this module.
Published: Apr 4, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ShippingAddress struct {
gorm.Model
UserID uint `json:"user_id" gorm:"not null"`
Username string `json:"username" gorm:"not null"`
Phone string `json:"phone"`
Email string `json:"email"`
Address string `json:"address" gorm:"not null"`
IsDefault uint `json:"isDefault" gorm:"default:1"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.