Documentation
¶
Index ¶
- type Bool
- type Int32
- type Int32Enum
- func (i *Int32Enum[T]) CompareAndSwap(old, new T) bool
- func (i *Int32Enum[T]) Load() T
- func (i *Int32Enum[T]) MarshalJSON() ([]byte, error)
- func (i *Int32Enum[T]) MarshalYAML() (any, error)
- func (i *Int32Enum[T]) Store(v T)
- func (i *Int32Enum[T]) String() string
- func (i *Int32Enum[T]) Swap(new T) T
- func (i *Int32Enum[T]) UnmarshalJSON(b []byte) error
- func (i *Int32Enum[T]) UnmarshalYAML(unmarshal func(any) error) error
- type Int64
- type Pointer
- type TypedValue
- func (t *TypedValue[T]) CompareAndSwap(old, new T) bool
- func (t *TypedValue[T]) Load() (v T)
- func (t *TypedValue[T]) LoadOk() (v T, ok bool)
- func (t *TypedValue[T]) MarshalJSON() ([]byte, error)
- func (t *TypedValue[T]) MarshalYAML() (any, error)
- func (t *TypedValue[T]) Store(value T)
- func (t *TypedValue[T]) Swap(new T) (v T)
- func (t *TypedValue[T]) UnmarshalJSON(b []byte) error
- func (t *TypedValue[T]) UnmarshalYAML(unmarshal func(any) error) error
- type Uint32
- type Uint64
- type Uintptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int32Enum ¶
type Int32Enum[T ~int32] struct { // contains filtered or unexported fields }
func NewInt32Enum ¶
func (*Int32Enum[T]) CompareAndSwap ¶
func (*Int32Enum[T]) MarshalJSON ¶
func (*Int32Enum[T]) MarshalYAML ¶
func (*Int32Enum[T]) UnmarshalJSON ¶
type Pointer ¶
func NewPointer ¶
func (*Pointer[T]) MarshalJSON ¶
func (*Pointer[T]) MarshalYAML ¶
func (*Pointer[T]) UnmarshalJSON ¶
type TypedValue ¶
type TypedValue[T any] struct { // contains filtered or unexported fields }
func NewTypedValue ¶
func NewTypedValue[T any](t T) (v TypedValue[T])
func (*TypedValue[T]) CompareAndSwap ¶
func (t *TypedValue[T]) CompareAndSwap(old, new T) bool
func (*TypedValue[T]) Load ¶
func (t *TypedValue[T]) Load() (v T)
func (*TypedValue[T]) LoadOk ¶
func (t *TypedValue[T]) LoadOk() (v T, ok bool)
func (*TypedValue[T]) MarshalJSON ¶
func (t *TypedValue[T]) MarshalJSON() ([]byte, error)
func (*TypedValue[T]) MarshalYAML ¶
func (t *TypedValue[T]) MarshalYAML() (any, error)
func (*TypedValue[T]) Store ¶
func (t *TypedValue[T]) Store(value T)
func (*TypedValue[T]) Swap ¶
func (t *TypedValue[T]) Swap(new T) (v T)
func (*TypedValue[T]) UnmarshalJSON ¶
func (t *TypedValue[T]) UnmarshalJSON(b []byte) error
func (*TypedValue[T]) UnmarshalYAML ¶
func (t *TypedValue[T]) UnmarshalYAML(unmarshal func(any) error) error
type Uint32 ¶
func (*Uint32) MarshalJSON ¶
func (*Uint32) MarshalYAML ¶
func (*Uint32) UnmarshalJSON ¶
type Uint64 ¶
func (*Uint64) MarshalJSON ¶
func (*Uint64) MarshalYAML ¶
func (*Uint64) UnmarshalJSON ¶
type Uintptr ¶
func NewUintptr ¶
func (*Uintptr) MarshalJSON ¶
func (*Uintptr) MarshalYAML ¶
func (*Uintptr) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.