pref

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose = false
)

Verbose output

Functions

This section is empty.

Types

type Pref

type Pref struct {
	DataDir, HomeDir, Add string
	List, Search          Query
	Version, Init         bool
	MaxEntries            int
}

Pref object.

func Parse

func Parse() Pref

Parse flags.

type Query

type Query struct {
	Start, Last string
}

Query object

func (*Query) IsNotEmpty

func (q *Query) IsNotEmpty() bool

IsNotEmpty returns true if Query.Last contains data.

func (Query) String

func (q Query) String() string

Jump to

Keyboard shortcuts

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