reuse

package
v0.0.0-...-b32920f Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count int

Count is a flag.Value that is like a flag.Bool and a flag.Int. If used as -name, it increments the Count, but -name=x sets the Count. Used for verbose flag -v.

func (*Count) Get

func (c *Count) Get() interface{}

func (*Count) IsBoolFlag

func (c *Count) IsBoolFlag() bool

func (*Count) IsCountFlag

func (c *Count) IsCountFlag() bool

func (*Count) Set

func (c *Count) Set(s string) error

func (*Count) String

func (c *Count) String() string

type RepeatedString

type RepeatedString []string

func (*RepeatedString) IsBoolFlag

func (c *RepeatedString) IsBoolFlag() bool

func (*RepeatedString) Set

func (c *RepeatedString) Set(s string) error

func (*RepeatedString) String

func (c *RepeatedString) String() string

type T

type T struct {
	A, B int
}

func F

func F(a, b int) *T

Jump to

Keyboard shortcuts

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