data

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArtInfo

func GetArtInfo(id int) model.Art

文章详情

func GetArtList

func GetArtList(where string, orderby string, limit int) []model.ArtCatename

文章列表

func GetCateInfo

func GetCateInfo(id int) model.Cate

分类详情

func GetCateInfoWithSlug

func GetCateInfoWithSlug(slug string) model.Cate

分类详情

func GetCateList

func GetCateList(where string, orderby string, limit int) []model.Cate

分类列表

func GetPageInfo

func GetPageInfo(slug string) model.Page

单页详情

func GetSetting

func GetSetting(key string) string

设置数据单个

func GetSettings

func GetSettings() map[string]string

设置数据列表

func GetTagList

func GetTagList(where string, orderby string, limit int) []model.Tag

标签列表

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL