flags

package
v0.0.0-...-f5e5ee2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uri

type Uri struct {
	Key string
	Val url.URL
}

Uri contains information about one flag instance.

func (*Uri) Set

func (u *Uri) Set(value string) error

Set parses single instance of a flag.

func (*Uri) String

func (u *Uri) String() string

type Uris

type Uris []Uri

Uris holds values of a repeated flag.

func (*Uris) Set

func (us *Uris) Set(value string) error

Set parses value and appends to us.

func (*Uris) String

func (us *Uris) String() string

String returns human-readable representation of a repeated flag.

func (*Uris) Type

func (us *Uris) Type() string

Type returns type.

Jump to

Keyboard shortcuts

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