Documentation ¶
Index ¶
- Constants
- func UnmarshalRawsUnion2(union Union2[json.RawMessage, yaml.Node], target any) error
- type CompileError
- type Logger
- type OrderedMap
- func (o *OrderedMap[K, V]) Delete(key K) bool
- func (o OrderedMap[K, V]) Entries() []lo.Entry[K, V]
- func (o OrderedMap[K, V]) Get(key K) (V, bool)
- func (o OrderedMap[K, V]) GetOr(key K, defaultValue V) V
- func (o OrderedMap[K, V]) Keys() []K
- func (o OrderedMap[K, V]) Len() int
- func (o OrderedMap[K, V]) OrderedMap()
- func (o *OrderedMap[K, V]) Set(key K, value V)
- func (o *OrderedMap[K, V]) UnmarshalJSON(bytes []byte) error
- func (o *OrderedMap[K, V]) UnmarshalYAML(value *yaml.Node) error
- type SimpleStack
- type Union2
- type Union3
Constants ¶
View Source
const TraceLevel log.Level = -5
Variables ¶
This section is empty.
Functions ¶
func UnmarshalRawsUnion2 ¶
func UnmarshalRawsUnion2(union Union2[json.RawMessage, yaml.Node], target any) error
Types ¶
type CompileError ¶
func (CompileError) Error ¶
func (c CompileError) Error() string
func (CompileError) Is ¶
func (c CompileError) Is(e error) bool
func (CompileError) Unwrap ¶
func (c CompileError) Unwrap() error
type OrderedMap ¶
type OrderedMap[K comparable, V any] struct { // contains filtered or unexported fields }
func (*OrderedMap[K, V]) Delete ¶
func (o *OrderedMap[K, V]) Delete(key K) bool
func (OrderedMap[K, V]) Entries ¶
func (o OrderedMap[K, V]) Entries() []lo.Entry[K, V]
func (OrderedMap[K, V]) Get ¶
func (o OrderedMap[K, V]) Get(key K) (V, bool)
func (OrderedMap[K, V]) GetOr ¶
func (o OrderedMap[K, V]) GetOr(key K, defaultValue V) V
func (OrderedMap[K, V]) Keys ¶
func (o OrderedMap[K, V]) Keys() []K
func (OrderedMap[K, V]) Len ¶
func (o OrderedMap[K, V]) Len() int
func (OrderedMap[K, V]) OrderedMap ¶
func (o OrderedMap[K, V]) OrderedMap()
func (*OrderedMap[K, V]) Set ¶
func (o *OrderedMap[K, V]) Set(key K, value V)
func (*OrderedMap[K, V]) UnmarshalJSON ¶
func (o *OrderedMap[K, V]) UnmarshalJSON(bytes []byte) error
func (*OrderedMap[K, V]) UnmarshalYAML ¶
func (o *OrderedMap[K, V]) UnmarshalYAML(value *yaml.Node) error
type SimpleStack ¶
type SimpleStack[T any] struct { // contains filtered or unexported fields }
func (*SimpleStack[T]) Items ¶
func (s *SimpleStack[T]) Items() []T
func (*SimpleStack[T]) Pop ¶
func (s *SimpleStack[T]) Pop() T
func (*SimpleStack[T]) Push ¶
func (s *SimpleStack[T]) Push(v T)
func (*SimpleStack[T]) ReplaceTop ¶
func (s *SimpleStack[T]) ReplaceTop(v T)
func (*SimpleStack[T]) Top ¶
func (s *SimpleStack[T]) Top() T
type Union2 ¶
func (*Union2[T0, T1]) CurrentValue ¶
func (*Union2[T0, T1]) MarshalJSON ¶
func (*Union2[T0, T1]) MarshalYAML ¶
func (*Union2[T0, T1]) UnmarshalJSON ¶
func (*Union2[T0, T1]) UnmarshalYAML ¶
type Union3 ¶
func (*Union3[T0, T1, T2]) CurrentValue ¶
func (*Union3[T0, T1, T2]) MarshalJSON ¶
func (*Union3[T0, T1, T2]) MarshalYAML ¶
func (*Union3[T0, T1, T2]) UnmarshalJSON ¶
func (*Union3[T0, T1, T2]) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.