Documentation
¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Index ¶
- type Author
- type CommInterviewsResp
- type CommonPage
- type Interview
- type InterviewHardStatus
- type Interview_detail
- type JwtToken
- type MailNotice
- type MessageConfig
- type OtherUser
- type ReqInterviewAdd
- type ReqInterviewId
- type ReqInterviewUpdate
- type ReqInterviews
- type ReqLogin
- type ReqStarInterviews
- type ReqStarInterviewsID
- type ReqUser
- type ReqUserId
- type ReqUsers
- type RespInterviewsTags
- type RespLogin
- type RespStarInterviews
- type RespUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommInterviewsResp ¶
type CommonPage ¶
type Interview ¶
type Interview struct {
ID string `json:"_id"`
Author Author `json:"author"`
ClickNum int64 `json:"click_num,default=0"`
Good int64 `json:"good,default=0"`
HardStatus string `json:"hard_status,options=hard,medium,easy"`
HotNum int64 `json:"hot_num,default=0"`
Summary string `json:"summary"`
Tags []string `json:"tags"`
Title string `json:"title"`
UpdatedTime int64 `json:"updated_time"`
Status bool `json:"status,default=false"`
}
type InterviewHardStatus ¶
type Interview_detail ¶
type MailNotice ¶
type MessageConfig ¶
type MessageConfig struct {
Comments bool `json:"comments"`
Follow bool `json:"follow"`
GoodAndStar bool `json:"good_and_star"`
MailNotice MailNotice `json:"mail_notice"`
}
type ReqInterviewAdd ¶
type ReqInterviewId ¶
type ReqInterviewId struct {
ID string `path:"_id"`
}
type ReqInterviewUpdate ¶
type ReqInterviews ¶
type ReqInterviews struct {
Tags []string `form:"tags,optional"`
Search string `form:"search,optional"`
CommonPage
}
type ReqStarInterviews ¶
type ReqStarInterviewsID ¶
type ReqStarInterviewsID struct {
ID string `path:"_id"`
}
type ReqUser ¶
type ReqUser struct {
ID string `path:"_id"`
Avatar *string `json:"avatar,optional"`
Birthday *int64 `json:"birthday,optional"`
City *string `json:"city,optional"`
Email *string `json:"email,optional"`
Name *string `json:"name,optional"`
Phone *int64 `json:"phone,optional"`
RealName *string `json:"real_name,optional"`
Summary *string `json:"summary,optional"`
Skills []string `json:"skills,optional"`
Blog *string `json:"blog,optional"`
}
type RespInterviewsTags ¶
type RespStarInterviews ¶
type RespUser ¶
type RespUser struct {
ID string `json:"_id"`
Avatar string `json:"avatar"`
Birthday int64 `json:"birthday"`
Blog string `json:"blog"`
City string `json:"city"`
Email string `json:"email"`
Followers int64 `json:"followers"`
Following int64 `json:"following"`
Name string `json:"name"`
Phone int64 `json:"phone"`
RealName string `json:"real_name"`
Skills []string `json:"skills"`
Summary string `json:"summary"`
}
Click to show internal directories.
Click to hide internal directories.