dict

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 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 NewDict

func NewDict() Dict

NewDict 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) MarchalJSON

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

func (*Dict) MarchalYAML

func (d *Dict) MarchalYAML() ([]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