Documentation
¶
Index ¶
Constants ¶
View Source
const ( ID = "id" UID = "uid" NAME = "name" INFO = "info" TYPE = "type" ROLE = "role" STATUS = "status" CONTENT = "content" OPERATE = "operate" OPERATOR = "operator" CREATED_AT = "created_at" UPDATED_AT = "updated_at" BEGIN_TIME = "begin_time" END_TIME = "end_time" OPEN_ID = "open_id" USER_UID = "user_uid" USER_NAME = "user_name" USER_AVATAR = "user_avatar" USER_PLACE_ROLE = "user_place_role" PLACE_UID = "place_uid" PLACE_NAME = "place_name" PLACE_TYPE = "place_type" PLACE_ADDRESS = "place_address" STREET_UID = "street_uid" STREET_NAME = "street_name" CITY_UID = "city_uid" CITY_NAME = "city_name" EVENT_UID = "event_uid" APPLY_UID = "apply_uid" APPLY_STATUS = "apply_status" ORDER_UID = "order_uid" ORDER_STATUS = "order_status" TABLES = "tables" EMAIL = "email" AVATAR = "avatar" ADDRESS = "address" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apply ¶
type City ¶
type City struct { db.ModelWithUID Name string `gorm:"type:char(64);index"` }
type Event ¶
type Order ¶
type Order struct { db.ModelWithUID UserUID string `gorm:"type:char(32);index"` ApplyUID string `gorm:"type:char(32);index"` Status uint8 }
type Place ¶
type Service ¶
type Service struct { db.ModelWithUID Icon string `gorm:"type:char(32)"` Name string `gorm:"type:char(32)"` Index string `gorm:"type:char(32)"` Hostname string `gorm:"type:char(32)"` Pathname string `gorm:"type:char(255)"` Nodename string `gorm:"type:char(32)"` Nodetype string `gorm:"type:char(32)"` Portal string `gorm:"type:char(255)"` Domain string `gorm:"type:char(255)"` Module string `gorm:"type:char(32)"` Version string `gorm:"type:char(32)"` }
type Sess ¶
type Sess struct { db.ModelWithUID UserUID string `gorm:"type:char(32);index"` IP string `gorm:"type:char(16)"` Agent string `gorm:"type:varchar(255)"` }
type Street ¶
type Street struct { db.ModelWithUID CityUID string `gorm:"type:char(32);index:idx_city"` Name string `gorm:"type:char(64);index:idx_city"` Info string }
type User ¶
Click to show internal directories.
Click to hide internal directories.