Versions in this module Expand all Collapse all v1 v1.0.10 Aug 2, 2021 v1.0.9 Jul 31, 2021 v1.0.8 Jul 30, 2021 v1.0.7 Jul 29, 2021 Changes in this version + func AdminCheck(token string) bool + func AdminEncrypt() string + func CheckArticleOK(fileData []byte) bool + func CheckDate(date string) bool + func CheckDatePlus(date string) bool + func CheckUpdateTime(createTime string) (updateTime string, flag bool) + func Conetent2Abs(abs, content string) string + func GerDateYear() string + func GetDate() string + func GetDate2() string + func GetDatePlus() string + func GetDateTime() string + func GetSortMessage() string + func GetSortPost(sortBy string, reverse bool) string + func ParseAbs(fileRaw []byte) []byte + func ParseMd(fileRaw []byte) []byte + type MdData struct + Abstract string + Body string + Meta Meta + func GenMdData(fileData []byte) (MdData, error) + type Meta struct + Categories []string + Date string + DatePlus string + ID int + Name string + Tags []string + Title string + func ParseYamlFront(fileRaw []byte) (Meta, error) + func ReformatMeta(meta Meta) Meta + type YamlData struct + Categories []string + DatePlus string + ID int + Name string + Tags []string + Title string