Documentation
¶
Index ¶
- func Append(m, elem map[string]map[string]interface{}) map[string]map[string]interface{}
- func AppendElem(m map[string]map[string]interface{}, key string, elem map[string]interface{}) map[string]map[string]interface{}
- func BoolPtr(value bool) *bool
- func Contains[T comparable](slice []T, target T) bool
- func First[T any](fst T, _ any) T
- func GetArrayType(array interface{}) reflect.Type
- func GetCurrentTimeMillis() int64
- func Initialise(m map[string]map[string]interface{}, key string)
- func IntPtr(value int) *int
- func IsZero(v reflect.Value) bool
- func ReadStringUint16(s []byte) (uint16, error)
- func ReadStringUint64(s []byte) (uint64, error)
- func Second[T any](_ any, snd T) T
- func StrPtr(value string) *string
- func Uint64Ptr(value uint64) *uint64
- type Uint64StringSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendElem ¶
func Contains ¶
func Contains[T comparable](slice []T, target T) bool
func GetArrayType ¶
func GetCurrentTimeMillis ¶
func GetCurrentTimeMillis() int64
func Initialise ¶
func ReadStringUint16 ¶
func ReadStringUint64 ¶
Types ¶
type Uint64StringSlice ¶
type Uint64StringSlice []uint64
func (Uint64StringSlice) MarshalJSON ¶
func (slice Uint64StringSlice) MarshalJSON() ([]byte, error)
func (*Uint64StringSlice) UnmarshalJSON ¶
func (slice *Uint64StringSlice) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.