optional

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Optional

type Optional struct {
	flag.Value
	// contains filtered or unexported fields
}

func (Optional) IsSet

func (o Optional) IsSet() bool

func (*Optional) Set

func (o *Optional) Set(s string) (err error)

func (*Optional) SetCli

func (o *Optional) SetCli(c *cli.Cli, val flag.Value, name, descr string)

func (*Optional) Setup

func (o *Optional) Setup(val flag.Value) *Optional

type String

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

func (*String) Set

func (S *String) Set(s string)

Jump to

Keyboard shortcuts

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