flags

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

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

func New

func New(on bool) *Flag

func (*Flag) HalfOn added in v1.0.10

func (f *Flag) HalfOn()

func (*Flag) IsHalfOn added in v1.0.10

func (f *Flag) IsHalfOn() (ok bool)

func (*Flag) IsOff

func (f *Flag) IsOff() (ok bool)

func (*Flag) IsOn

func (f *Flag) IsOn() (ok bool)

func (*Flag) Off

func (f *Flag) Off()

func (*Flag) On

func (f *Flag) On()

func (*Flag) Value added in v1.0.10

func (f *Flag) Value() int64

Jump to

Keyboard shortcuts

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