1 Star 0 Fork 0

szmaozi/go-utils

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
types.go 968 Bytes
Copy Edit Raw Blame History
szmaozi authored 2021-09-02 13:41 . wip: merge biob-v1
package utils
import "html/template"
type MailServer struct {
Server, Email, Password string
}
type ViewHtml struct {
Header template.HTML
Nav template.HTML
}
type IndexData struct {
ViewHtml
Folders map[string]int
Mails interface{}
MailPagelist []*MailItem
CurrentPage int
Fid string
NextPage, PrePage string
NumPages template.HTML
}
type ViewData struct {
Folders map[string]int
HtmlBody template.HTML
MailItem
}
type MailItem struct {
Subject string
Fid string
Id uint32
From string
To string
Body string
Date string
}
type MailPageList struct {
MailItems []*MailItem
}
type JsonResult struct {
Code int `json:"code"`
Msg string `json:"msg"`
}
type JsonListResult struct {
JsonResult
Result interface{} `json:"result"`
}
type SmtpBody struct {
Smtp string
From string
To []string
Password string
Subject string
Body string
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/szmaozi/go-utils.git
git@gitee.com:szmaozi/go-utils.git
szmaozi
go-utils
go-utils
29e02a007caf

Search