Documentation ¶
Index ¶
- func ConStringToInt64(s string) (int64, error)
- func GetEnv() string
- func IsProEnv() bool
- 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 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 MarshalWithoutErr ¶
func MarshalWithoutErr(v interface{}) string
func MergeByJson ¶
func MergeByJson(from interface{}, to interface{})
func MergeByReflection ¶
func MergeByReflection(from interface{}, to interface{}) error
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.