Documentation ¶
Index ¶
- func BoolEnvOr(key string, defaul bool) bool
- func BytesToUint64(b []byte) uint64
- func ContainsString(this string, arr []string) bool
- func EnvOr(key string, defaul string) string
- func Hash(val []byte) string
- func IntEnvOr(key string, defaul int) int
- func JSONString(obj interface{}) string
- func MarshalJSON(msg proto.Message) ([]byte, error)
- func StringSliceEnvOr(key string, defaul []string) []string
- func StringStringEnvOr(key string, defaul map[string]string) map[string]string
- func Uint64ToBytes(u uint64) []byte
- func UnmarshalJSON(bits []byte, msg proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUint64 ¶
func ContainsString ¶
func JSONString ¶
func JSONString(obj interface{}) string
func StringSliceEnvOr ¶
func StringStringEnvOr ¶
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.