Help us shape the future of Go! Take the 2026 Go Developer Survey

values

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

type Value

type Value = *yaml.Node

Value represents a raw value in an OpenAPI or Arazzo document.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL