annotation

package
v2.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations

type Annotations map[string]string

Annotations is a list of annotations to describe a command

func NewAnnotation

func NewAnnotation(a Annotations, opts ...Option) Annotations

NewAnnotation creaete a new annotation to describe a command and configure it using a list of options

type Option

type Option func(Annotations) Annotations

Option adds meta information to the Annotation

Jump to

Keyboard shortcuts

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