annotation

package
v3.0.26 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation struct {
	Key     string
	Name    string
	Options []string
}

func (*Annotation) HasOption

func (a *Annotation) HasOption(opt string) bool

func (*Annotation) Value

func (a *Annotation) Value() string

type Annotations

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

func Parse

func Parse(v string) (*Annotations, error)

func (*Annotations) Get

func (a *Annotations) Get(key string) (*Annotation, error)

Jump to

Keyboard shortcuts

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