fuzzymap

package
v0.12.8 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type M

type M []*Value

func New

func New(input map[string]interface{}) M

func (M) Filter

func (m M) Filter(keys ...string) M

func (M) Len

func (m M) Len() int

func (M) Less

func (m M) Less(i, j int) bool

func (M) SortRecursive

func (m M) SortRecursive()

func (M) String

func (m M) String() string

func (M) Swap

func (m M) Swap(i, j int)

type Value

type Value struct {
	Key      string
	Parent   *Value
	Children M
	Value    interface{}
}

func (*Value) String

func (v *Value) String() string

Jump to

Keyboard shortcuts

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