objector

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: GPL-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Objector

type Objector interface {
	ToObject() object.T
}

Objector is an interface for types that can be converted to object.T - a key-value type that can be summarised as

[]struct{Key string, Value interface{}}

and allows non-set-like repetition and non-set-like canonical ordering.

These are often called also "collection" in other languages but they are a frankenstein in implementation just like this here code demonstrates.

Jump to

Keyboard shortcuts

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