Documentation ¶
Index ¶
- func AddGoods(userId, price int, keyword, content, location, address string) error
- func AddUser(phone, password, nikeName string, age int) error
- func Close()
- func EditUser(id int, phone, password, nikeName string, age, status int) error
- func HasGoodsByID(id int) (bool, error)
- func HasUserByID(id int) (bool, error)
- func HasUserByPhone(phone string) (bool, error)
- func Setup()
- type Goods
- type GoodsTo
- type Model
- type User
- type UserTo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasGoodsByID ¶
func HasUserByID ¶
func HasUserByPhone ¶
Types ¶
type Goods ¶
type GoodsTo ¶
func GetAllGoods ¶
Click to show internal directories.
Click to hide internal directories.