tags

package
v0.0.0-...-d8f7d12 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Key   string
	Value string
}

func (*Tag) Set

func (tag *Tag) Set(value string) error

func (*Tag) String

func (tag *Tag) String() string

type Tags

type Tags map[string]string // Key: tag key, value: tag value.

func (Tags) Copy

func (tags Tags) Copy() Tags

func (Tags) Equal

func (left Tags) Equal(right Tags) bool

func (Tags) Merge

func (to Tags) Merge(from Tags)

func (*Tags) Set

func (tags *Tags) Set(value string) error

func (*Tags) String

func (tags *Tags) String() string

Jump to

Keyboard shortcuts

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