options

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

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

Iterator struct

func NewIterator

func NewIterator(opts string) *Iterator

NewIterator creates a new iterator

func (*Iterator) Name

func (it *Iterator) Name() string

Name returns current option name

func (*Iterator) Next

func (it *Iterator) Next() bool

Next returns true if iterator has next value

func (*Iterator) Value

func (it *Iterator) Value() string

Value returns current option value

Jump to

Keyboard shortcuts

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