Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Comment ¶
type Comment struct {
CommentId int `json:"comment_id"`
UserId int `json:"user_id"`
Username string `json:"username"`
VideoId int `json:"video_id"`
Content string `json:"content"`
CreateTime string `json:"create_time"`
}
func GetComments ¶
type User ¶
type User struct {
UserId int `json:"user_id"`
Username string `json:"username"`
Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"`
}
func (*User) GetByUsername ¶
Click to show internal directories.
Click to hide internal directories.