orderedmap

package
v0.0.0-...-8178683 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 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 Orderedmap

type Orderedmap struct {
	Value *orderedmap.OrderedMap
}

func New

func New(b []byte) (*Orderedmap, error)

func (*Orderedmap) GetValue

func (o *Orderedmap) GetValue() *orderedmap.OrderedMap

func (*Orderedmap) MakeByte

func (o *Orderedmap) MakeByte() ([]byte, error)

func (*Orderedmap) RecursiveDelete

func (o *Orderedmap) RecursiveDelete(keys []string) error

func (*Orderedmap) RecursiveSet

func (o *Orderedmap) RecursiveSet(keys []string, value interface{}) error

type OrderedmapInterfaces

type OrderedmapInterfaces interface {
	// create and update
	RecursiveSet(keys []string, value interface{}) error
	// delete
	RecursiveDelete(keys []string) error
	// convertByte
	MakeByte() ([]byte, error)
	// return orderedmap
	GetValue() *orderedmap.OrderedMap
}

Jump to

Keyboard shortcuts

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