dataset

package
v0.0.0-...-e27afb6 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: AGPL-3.0 Imports: 5 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 {
	Host    string
	Dataset string
	Version string
}

Tag represents the components that make up a Tag flag.

func ParseTag

func ParseTag(val string) (tag Tag, err error)

ParseTag provides a convenience function for quickly converting a string tag into it's structural components.

func (*Tag) MarshalText

func (t *Tag) MarshalText() (text []byte, err error)

func (*Tag) String

func (t *Tag) String() string

func (*Tag) UnmarshalText

func (t *Tag) UnmarshalText(text []byte) (err error)

type TagSet

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

TagSet provides a custom data type that can

func (*TagSet) Len

func (t *TagSet) Len() int

func (*TagSet) Serialize

func (t *TagSet) Serialize() string

func (*TagSet) Set

func (t *TagSet) Set(value string) error

func (*TagSet) String

func (t *TagSet) String() string

func (*TagSet) Value

func (t *TagSet) Value() []*Tag

Jump to

Keyboard shortcuts

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