Discover Packages
github.com/iissy/goweb
src
model
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Aug 17, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Account struct {
ID int `json:"id"`
UserId string `json:"userid"`
Password string `json:"password"`
UserName string `json:"user_name"`
RegDate string `json:"reg_date"`
LastLoginDate string `json:"last_login_date"`
Status int `json:"status"`
}
type AccountList struct {
List []*Account `json:"list"`
Total int64 `json:"total"`
}
type Article struct {
Id string `json:"id"`
Title string `json:"title"`
Icon string `json:"icon"`
Brief string `json:"brief"`
Body template .HTML `json:"body"`
UserID int `json:"user_id"`
NickName string `json:"nick_name"`
Origin string `json:"origin"`
CreateTime time .Time `json:"create_time"`
Visited int `json:"visited"`
Catalog string `json:"catalog"`
}
type ArticleList struct {
List []*Article `json:"list"`
Total int64 `json:"total"`
}
type CusLink struct {
Id int `json:"id"`
Title string `json:"title"`
Url string `json:"url"`
Status int `json:"status"`
LinkType string `json:"link_type"`
Catid string `json:"cat_id"`
Adddate string `json:"add_date"`
Updatedate string `json:"update_date"`
Visited int `json:"visited"`
}
type CusLinkList struct {
List []*CusLink `json:"list"`
Total int64 `json:"total"`
}
type Link struct {
Id string `json:"id"`
Title string `json:"title"`
Icon string `json:"icon"`
Catid string `json:"cat_id"`
LinkType string `json:"link_type"`
Visited int `json:"visited"`
Brief template .HTML `json:"brief"`
Url string `json:"url"`
CreateTime string `json:"create_time"`
}
type LinkCat struct {
ID string `json:"id"`
CatName string `json:"cat_name"`
}
type LinkCatList struct{ List []*LinkCat }
type LinkList struct {
List []*Link `json:"list"`
Total int64 `json:"total"`
}
type Search struct {
Id string `json:"id"`
Title string `json:"title"`
CatId string `json:"cat_id"`
Url string `json:"url"`
}
type SearchPager struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.