util

package
v0.0.0-...-40319cd Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormat = "2006-01-02"
View Source
const TimeFormat = "2006-01-02 15:04:05"

Variables

View Source
var ArrayUtil = arrayUtil{}
View Source
var ConfigUtil = configUtil{}
View Source
var ConvertUtil = convertUtil{}
View Source
var DbUtil = dbUtil{}
View Source
var FileUtil = fileUtil{}
View Source
var IpUtil = ipUtil{}
View Source
var RedisUtil = redisUtil{/* contains filtered or unexported fields */}
View Source
var ServerUtil = serverUtil{}
View Source
var StringUtil = stringUtil{}
View Source
var (
	ToolsUtil = toolsUtil{/* contains filtered or unexported fields */}
)
View Source
var (
	UrlUtil = urlUtil{/* contains filtered or unexported fields */}
)
View Source
var VerifyUtil = verifyUtil{}

Functions

This section is empty.

Types

type OnlyRespTsTime

type OnlyRespTsTime time.Time

func (OnlyRespTsTime) MarshalJSON

func (otst OnlyRespTsTime) MarshalJSON() ([]byte, error)

type TsTime

type TsTime int64

TsTime 自定义时间格式

func (TsTime) MarshalJSON

func (tst TsTime) MarshalJSON() ([]byte, error)

func (*TsTime) UnmarshalJSON

func (tst *TsTime) UnmarshalJSON(bs []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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