Documentation
¶
Index ¶
- func CreateUserTable() error
- func DeleteUser(q *qbs.Qbs, id int64) (affected int64, err error)
- func GetUser(w http.ResponseWriter, r *http.Request)
- func RegisterDb()
- func UpdateMultipleUsers(q *qbs.Qbs) (affected int64, err error)
- func UpdateOneUser(q *qbs.Qbs, id int64, name string) (affected int64, err error)
- type Post
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserTable ¶
func CreateUserTable() error
func RegisterDb ¶
func RegisterDb()
Types ¶
type Post ¶
type Post struct { Id int64 AuthorId int64 Author *User Content string Created time.Time Updated time.Time }
Click to show internal directories.
Click to hide internal directories.