Versions in this module Expand all Collapse all v0 v0.0.2 Jun 9, 2023 v0.0.1 Jun 6, 2023 Changes in this version + func BoolToRaw(b bool) uint64 + func Float64ToRaw(f float64) uint64 + func Int64ToRaw(i int64) uint64 + func RawPtrToFloat64Ptr(r *uint64) *float64 + func RawPtrToInt64Ptr(r *uint64) *int64 + func RawToBool(r uint64) bool + func RawToFloat64(r uint64) float64 + func RawToInt64(r uint64) int64 + type Key string + func (k Key) Bool(v bool) KeyValue + func (k Key) BoolSlice(v []bool) KeyValue + func (k Key) Defined() bool + func (k Key) Float64(v float64) KeyValue + func (k Key) Float64Slice(v []float64) KeyValue + func (k Key) Int(v int) KeyValue + func (k Key) Int64(v int64) KeyValue + func (k Key) Int64Slice(v []int64) KeyValue + func (k Key) IntSlice(v []int) KeyValue + func (k Key) String(v string) KeyValue + func (k Key) StringSlice(v []string) KeyValue + type KeyValue struct + Key Key + Value Value + func Bool(k string, v bool) KeyValue + func BoolSlice(k string, v []bool) KeyValue + func Float64(k string, v float64) KeyValue + func Float64Slice(k string, v []float64) KeyValue + func Int(k string, v int) KeyValue + func Int64(k string, v int64) KeyValue + func Int64Slice(k string, v []int64) KeyValue + func IntSlice(k string, v []int) KeyValue + func String(k, v string) KeyValue + func StringSlice(k string, v []string) KeyValue + func Stringer(k string, v fmt.Stringer) KeyValue + func (kv KeyValue) Valid() bool + type Type int + const BOOL + const BOOLSLICE + const FLOAT64 + const FLOAT64SLICE + const INT64 + const INT64SLICE + const INVALID + const STRING + const STRINGSLICE + func (i Type) String() string + type Value struct + func BoolSliceValue(v []bool) Value + func BoolValue(v bool) Value + func Float64SliceValue(v []float64) Value + func Float64Value(v float64) Value + func Int64SliceValue(v []int64) Value + func Int64Value(v int64) Value + func IntSliceValue(v []int) Value + func IntValue(v int) Value + func StringSliceValue(v []string) Value + func StringValue(v string) Value + func (v Value) AsBool() bool + func (v Value) AsBoolSlice() []bool + func (v Value) AsFloat64() float64 + func (v Value) AsFloat64Slice() []float64 + func (v Value) AsInt64() int64 + func (v Value) AsInt64Slice() []int64 + func (v Value) AsInterface() interface{} + func (v Value) AsString() string + func (v Value) AsStringSlice() []string + func (v Value) Emit() string + func (v Value) MarshalJSON() ([]byte, error) + func (v Value) Type() Type