Documentation ¶
Index ¶
- func ConStringToInt64(s string) (int64, error)
- func Day() string
- func GetEnv() string
- func Hour() string
- func IsLetter(s string) bool
- func IsProEnv() bool
- func LastMonth() string
- func LastWeek() string
- 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.Time
- func Milliseconds() int64
- func Minute() string
- func Month() string
- func OpId(ctx context.Context) string
- func OpIdWithoutDefault(ctx context.Context) string
- func Second() string
- func UUIDWithoutHyphen() string
- func Uid(ctx context.Context) string
- func Week() string
- func WeekDay() time.Weekday
- func Year() string
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 ¶ 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.