Documentation ¶
Index ¶
- func ConStringToInt64(s string) (int64, error)
- func GetEnv() string
- func IsProEnv() bool
- func MergeByJson(from interface{}, to interface{})
- func MergeConfig(config1 *viper.Viper, config2 *viper.Viper) *viper.Viper
- func Milliseconds() int64
- func OpId(ctx context.Context) string
- func OpIdWithoutDefault(ctx context.Context) string
- func SecondsUntilMidnight() int64
- func UUIDWithoutHyphen() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConStringToInt64 ¶
func MergeByJson ¶
func MergeByJson(from interface{}, to interface{})
func Milliseconds ¶
func Milliseconds() int64
func OpIdWithoutDefault ¶
func SecondsUntilMidnight ¶
func SecondsUntilMidnight() int64
func UUIDWithoutHyphen ¶
func UUIDWithoutHyphen() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.