tool

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConStringToInt64

func ConStringToInt64(s string) (int64, error)

func Day added in v0.2.6

func Day() string

func GetEnv

func GetEnv() string

func Hour added in v0.2.6

func Hour() string

func IsLetter added in v0.0.2

func IsLetter(s string) bool

func IsProEnv

func IsProEnv() bool

func MarshalWithoutErr

func MarshalWithoutErr(v interface{}) string

func MergeByJson

func MergeByJson(from interface{}, to interface{})

func MergeByReflection

func MergeByReflection(from interface{}, to interface{}) error

func MergeConfig

func MergeConfig(config1 *viper.Viper, config2 *viper.Viper) *viper.Viper

func Milliseconds

func Milliseconds() int64

func Minute added in v0.2.6

func Minute() string

func Month added in v0.2.6

func Month() string

func OpId

func OpId(ctx context.Context) string

func OpIdWithoutDefault

func OpIdWithoutDefault(ctx context.Context) string

func Second added in v0.2.6

func Second() string

func UUIDWithoutHyphen

func UUIDWithoutHyphen() string

func Uid added in v0.2.1

func Uid(ctx context.Context) string

func Week added in v0.2.2

func Week() string

func WeekDay added in v0.2.2

func WeekDay() time.Weekday

func Year added in v0.2.6

func Year() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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