Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2023 Changes in this version + func DefaultValue[T any]() T + type Bool struct + func NewBool(val bool) (i Bool) + func (i *Bool) MarshalJSON() ([]byte, error) + func (i *Bool) String() string + func (i *Bool) UnmarshalJSON(b []byte) error + type Int32 struct + func NewInt32(val int32) (i Int32) + func (i *Int32) MarshalJSON() ([]byte, error) + func (i *Int32) String() string + func (i *Int32) UnmarshalJSON(b []byte) error + type Int64 struct + func NewInt64(val int64) (i Int64) + func (i *Int64) MarshalJSON() ([]byte, error) + func (i *Int64) String() string + func (i *Int64) UnmarshalJSON(b []byte) error + type Pointer struct + func NewPointer[T any](v *T) (p Pointer[T]) + func (p *Pointer[T]) MarshalJSON() ([]byte, error) + func (p *Pointer[T]) String() string + func (p *Pointer[T]) UnmarshalJSON(b []byte) error + type TypedValue struct + func NewTypedValue[T any](t T) (v TypedValue[T]) + func (t *TypedValue[T]) CompareAndSwap(old, new T) bool + func (t *TypedValue[T]) Load() T + func (t *TypedValue[T]) MarshalJSON() ([]byte, error) + func (t *TypedValue[T]) Store(value T) + func (t *TypedValue[T]) Swap(new T) T + func (t *TypedValue[T]) UnmarshalJSON(b []byte) error + type Uint32 struct + func NewUint32(val uint32) (i Uint32) + func (i *Uint32) MarshalJSON() ([]byte, error) + func (i *Uint32) String() string + func (i *Uint32) UnmarshalJSON(b []byte) error + type Uint64 struct + func NewUint64(val uint64) (i Uint64) + func (i *Uint64) MarshalJSON() ([]byte, error) + func (i *Uint64) String() string + func (i *Uint64) UnmarshalJSON(b []byte) error + type Uintptr struct + func NewUintptr(val uintptr) (i Uintptr) + func (i *Uintptr) MarshalJSON() ([]byte, error) + func (i *Uintptr) String() string + func (i *Uintptr) UnmarshalJSON(b []byte) error