Documentation ¶
Index ¶
- func BoolEnvOr(key string, defaul bool) bool
- func BoolPointer(this 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 Int32Pointer(value uint32) *int32
- func IntEnvOr(key string, defaul int) int
- func JSONString(obj interface{}) string
- func MarshalJSON(msg proto.Message) ([]byte, error)
- func StringPointer(this string) *string
- func StringSliceEnvOr(key string, defaul []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 BoolPointer ¶ added in v0.0.6
func BytesToUint64 ¶
func ContainsString ¶
func Int32Pointer ¶ added in v0.0.6
func JSONString ¶
func JSONString(obj interface{}) string
func StringPointer ¶ added in v0.0.6
func StringSliceEnvOr ¶
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.