brickmap

package
v0.0.2-alpha24 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrickMap

type BrickMap interface {
	Set(keyPath []string, value interface{}) error
	Get(keyPath []string) (interface{}, bool)
	ToFlatMap() (map[string]interface{}, bool)
	Delete(keyPath []string) bool
}

func NewBrickMap

func NewBrickMap(cfg BrickMapConfig) BrickMap

type BrickMapConfig

type BrickMapConfig interface {
	GetStringifiedPaths() map[string]struct{}
}

func NewStandardBrickMapConfig

func NewStandardBrickMapConfig(stringifiedPaths map[string]struct{}) BrickMapConfig

Jump to

Keyboard shortcuts

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