utils

package
v0.0.0-...-fbb1375 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(name string, ptr interface{})

func EncodeUri

func EncodeUri(u string, query map[string]string) string

EncodeUri 编码URL,添加query。

func Encoding

func Encoding(name string, obj interface{})

func IsFile

func IsFile(name string) bool

func MapToJsonFile

func MapToJsonFile(m map[string]bool, fp string)

MapToJsonFile 将日历map转成json文件。

func ModifyDateFormat

func ModifyDateFormat(t string) string

ModifyDateFormat 修改日期格式字符串,使符合YY(YY)-MM-DD hh:mm:ss,支持的参数格式YYYY-MM-DD hh:mm:ss

func ReadFile

func ReadFile(name string) (*os.File, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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