Documentation
¶
Index ¶
- type EitherValue
- func (e *EitherValue[L, LCore, R, RCore]) GetLeft() L
- func (e *EitherValue[L, LCore, R, RCore]) GetNavigableNode() (any, error)
- func (e *EitherValue[L, LCore, R, RCore]) GetRight() R
- func (e *EitherValue[L, LCore, R, RCore]) IsLeft() bool
- func (e *EitherValue[L, LCore, R, RCore]) IsRight() bool
- func (e *EitherValue[L, LCore, R, RCore]) Populate(source any) error
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EitherValue ¶
type EitherValue[L any, LCore any, R any, RCore any] struct { marshaller.Model[core.EitherValue[LCore, RCore]] Left *L Right *R }
func (*EitherValue[L, LCore, R, RCore]) GetLeft ¶
func (e *EitherValue[L, LCore, R, RCore]) GetLeft() L
func (*EitherValue[L, LCore, R, RCore]) GetNavigableNode ¶
func (e *EitherValue[L, LCore, R, RCore]) GetNavigableNode() (any, error)
GetNavigableNode implements the NavigableNoder interface to return the held value for JSON pointer navigation
func (*EitherValue[L, LCore, R, RCore]) GetRight ¶
func (e *EitherValue[L, LCore, R, RCore]) GetRight() R
func (*EitherValue[L, LCore, R, RCore]) IsLeft ¶
func (e *EitherValue[L, LCore, R, RCore]) IsLeft() bool
func (*EitherValue[L, LCore, R, RCore]) IsRight ¶
func (e *EitherValue[L, LCore, R, RCore]) IsRight() bool
func (*EitherValue[L, LCore, R, RCore]) Populate ¶
func (e *EitherValue[L, LCore, R, RCore]) Populate(source any) error
Click to show internal directories.
Click to hide internal directories.