dict

package
v1.77.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dict

type Dict struct {
	// contains filtered or unexported fields
}

func New added in v1.29.2

func New() Dict

New return Dict

func (*Dict) Delete

func (d *Dict) Delete(k string)

func (*Dict) Dump

func (d *Dict) Dump() map[string]string

func (*Dict) Lookup

func (d *Dict) Lookup(k string) string

func (*Dict) MarchalYAML

func (d *Dict) MarchalYAML() ([]byte, error)

func (*Dict) MarshalJSON added in v1.34.0

func (d *Dict) MarshalJSON() ([]byte, error)

func (*Dict) Merge

func (d *Dict) Merge(in map[string]string)

func (*Dict) MergeIfNotPresent

func (d *Dict) MergeIfNotPresent(in map[string]string)

func (*Dict) Range

func (d *Dict) Range(f func(key, value interface{}) bool)

func (*Dict) Store

func (d *Dict) Store(k, v string)

func (*Dict) UnmarshalJSON

func (d *Dict) UnmarshalJSON(data []byte) error

func (*Dict) UnmarshalYAML

func (d *Dict) UnmarshalYAML(data []byte) error

Jump to

Keyboard shortcuts

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