flagext

package
v0.0.0-...-b5dcede Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: AGPL-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 ByteSize

type ByteSize uint64

ByteSize is a flag parsing compatibility type for constructing human friendly sizes. It implements flag.Value & flag.Getter.

func (ByteSize) Get

func (bs ByteSize) Get() interface{}

func (*ByteSize) Set

func (bs *ByteSize) Set(s string) error

func (ByteSize) String

func (bs ByteSize) String() string

func (*ByteSize) UnmarshalYAML

func (bs *ByteSize) UnmarshalYAML(unmarshal func(interface{}) error) error

/ UnmarshalYAML the Unmarshaler interface of the yaml pkg.

func (ByteSize) Val

func (bs ByteSize) Val() int

Jump to

Keyboard shortcuts

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