Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCategoriesKey = "categories:all"
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct {
ID int64 `json:"id"`
Content string `json:"content"`
ArticleID uuid.UUID `json:"article_id"`
ParentID int64 `json:"parent_id"`
Likes int32 `json:"likes"`
FromUserID uuid.UUID `json:"from_user_id"`
ToUserID uuid.UUID `json:"to_user_id"`
CreatedAt time.Time `json:"created_at"`
DeletedAt time.Time `json:"deleted_at"`
FromUserName string `json:"from_user_name"`
ToUserName string `json:"to_user_name"`
Child []*Comment `json:"child"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves HTTP requests for our banking service.
Click to show internal directories.
Click to hide internal directories.