Documentation ¶
Index ¶
- func ConStringToInt64(s string) (int64, error)
- func Day() stringdeprecated
- func GetEnv() string
- func Hour() stringdeprecated
- func IsLetter(s string) bool
- func IsProEnv() bool
- func LastMonth() stringdeprecated
- func LastWeek() stringdeprecated
- func MarshalWithoutErr(v interface{}) string
- func MergeByJson(from interface{}, to interface{})
- func MergeByReflection(from interface{}, to interface{}) error
- func MergeConfig(config1 *viper.Viper, config2 *viper.Viper) *viper.Viper
- func MidnightTody() time.Timedeprecated
- func Milliseconds() int64
- func Minute() stringdeprecated
- func Month() stringdeprecated
- func OpId(ctx context.Context) string
- func OpIdWithoutDefault(ctx context.Context) string
- func Second() stringdeprecated
- func UUIDWithoutHyphen() string
- func Uid(ctx context.Context) string
- func Week() stringdeprecated
- func WeekDay() time.Weekdaydeprecated
- func Year() stringdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConStringToInt64 ¶
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 MidnightTody
deprecated
added in
v0.2.9
func Milliseconds ¶
func Milliseconds() int64
func OpIdWithoutDefault ¶
func UUIDWithoutHyphen ¶
func UUIDWithoutHyphen() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.