tinyopt

package module
v0.0.0-...-ab3ed7b Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.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 Opt

type Opt struct {
	Sep string
	// contains filtered or unexported fields
}

func NewOpt

func NewOpt() *Opt

func (*Opt) GetBool

func (o *Opt) GetBool(k string) (bool, bool)

func (*Opt) GetRaw

func (o *Opt) GetRaw() string

func (*Opt) GetStr

func (o *Opt) GetStr(k string) (string, bool)

func (*Opt) Parse

func (o *Opt) Parse(s string) error

func (*Opt) SetSep

func (o *Opt) SetSep(sep string) *Opt

Jump to

Keyboard shortcuts

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