flag

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value interface {
	String() string
	Set(string) error
}

func NewBool

func NewBool(val bool, ptr *bool) Value

func NewByte

func NewByte(val byte, ptr *byte) Value

func NewDuration

func NewDuration(val time.Duration, ptr *time.Duration) Value

func NewInt

func NewInt(val int, ptr *int) Value

func NewInt16

func NewInt16(val int16, ptr *int16) Value

func NewInt32

func NewInt32(val int32, ptr *int32) Value

func NewInt64

func NewInt64(val int64, ptr *int64) Value

func NewInt8

func NewInt8(val int8, ptr *int8) Value

func NewString

func NewString(val string, ptr *string) Value

func NewUint

func NewUint(val uint, ptr *uint) Value

func NewUint16

func NewUint16(val uint16, ptr *uint16) Value

func NewUint32

func NewUint32(val uint32, ptr *uint32) Value

func NewUint64

func NewUint64(val uint64, ptr *uint64) Value

func NewUint8

func NewUint8(val uint8, ptr *uint8) Value

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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