Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type City ¶
type City struct { gorm.Model CityCode string `gorm:"column:city_code" json:"city_code"` CityName string `gorm:"column:city_name" json:"city_name"` ProvinceID uint `gorm:"column:province_id" json:"province_id"` }
City ...
type Country ¶
type Country struct { gorm.Model CountryName string `gorm:"column:country_name" json:"country_name"` CountryCode string `gorm:"column:country_code" json:"country_code"` }
Country ...
type Products ¶
type Products struct { gorm.Model Name string `gorm:"column:name" json:"name"` Category string `gorm:"column:category" json:"category"` VariantID uint `gorm:"column:variant_id" json:"variant_id"` Price float32 `gorm:"column:price" json:"price"` Description string `gorm:"column:description" json:"description"` Quantity int32 `gorm:"column:quantity" json:"quantity"` }
Products ...
type Province ¶
type Province struct { gorm.Model ProvinceName string `gorm:"column:province_name" json:"province_name"` ProvinceCode string `gorm:"column:province_code" json:"province_code"` CountryID uint `gorm:"column:country_id" json:"country_id"` }
Province ...
type User ¶
type User struct { gorm.Model Name string `gorm:"column:name" json:"name"` Mobile string `gorm:"column:mobile" json:"mobile"` Email string `gorm:"column:email" json:"email"` Address string `gorm:"column:address" json:"address"` Password string `gorm:"column:password" json:"password"` Salt string `gorm:"column:salt" json:"salt"` ZipCodeID uint `gorm:"column:zipcode" json:"zipcode"` }
User ...
Click to show internal directories.
Click to hide internal directories.