Documentation ¶
Index ¶
- Constants
- func AbstractCache() cache.AbstractCache
- func Ajax(msg any, errcode int64, this *pine.Context)
- func App() *pine.Application
- func AppPath() string
- func Bytes2String(b []byte) *string
- func ConvertToAnySlice[T any](s []T) []any
- func GetCallerFuncName() string
- func GetLocation() *time.Location
- func GetMd5(str string) string
- func GetORM() *xorm.Engine
- func GetRandomString(l int) string
- func GetRootPath(relPath ...string) string
- func GetTimeStamp() int
- func GetUrlPrefix(catid int64) string
- func HandleArtListInfo(list []map[string]string, titlelen int)
- func InArray(val any, array any) (exists bool, index int)
- func Inject(key any, v any, single ...bool)
- func IsFalse(args ...any) bool
- func IsWindows() bool
- func Krand(size int, kind int) []byte
- func NewOrmLogFile(path string) *os.File
- func NowDate(str string) string
- func PanicErr(err error, msg ...string)
- func Password(password, encrypt string) string
- func ToInterfaces(values any) []any
- func ToTableTime(t string) tables.LocalTime
- func UcFirst(str string) string
- type DirInfo
- type EmailOpt
- type Page
Constants ¶
View Source
const TimeFormat = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func Bytes2String ¶
func ConvertToAnySlice ¶
func GetLocation ¶
func GetRandomString ¶
func HandleArtListInfo ¶
处理文章列表信息数据. 补全一些cms生成
func NewOrmLogFile ¶
func ToInterfaces ¶
func ToTableTime ¶
Types ¶
type DirInfo ¶
Click to show internal directories.
Click to hide internal directories.