Documentation
¶
Index ¶
- func JoinPath(path []Path) string
- func OrderedMapKeys[M ~map[K]V, K cmp.Ordered, V any](m M) []K
- type Path
- type PathType
- type Storage
- func (s *Storage) Data() map[string]string
- func (s *Storage) Get(key string) (string, bool)
- func (s *Storage) Has(key string) bool
- func (s *Storage) Keys() []string
- func (s *Storage) RawData() map[string]string
- func (s *Storage) Set(key, val string) error
- func (s *Storage) SubKeys(key string) (_ []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OrderedMapKeys ¶
OrderedMapKeys returns the keys of the map m in sorted order.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a key-value store that verifies the format of the key.
func NewStorage ¶
func NewStorage() *Storage
Click to show internal directories.
Click to hide internal directories.