internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64P added in v1.0.0

func Float64P(v float64) *float64

Float64P returns a pointer float

func OpenBrowser added in v1.0.0

func OpenBrowser(url string)

OpenBrowser opens a given URL in browser - sourced from https://gist.github.com/nanmu42/4fbaf26c771da58095fa7a9f14f23d27

func Popleft

func Popleft(s []string) (string, []string)

Popleft pops the first string off a slice

func StringP added in v1.0.0

func StringP(str string) *string

StringP returns a pointer string

Types

type Printer added in v1.0.0

type Printer struct {
	Debug bool
}

Printer only outputs if debug=true

func (*Printer) Print added in v1.0.0

func (p *Printer) Print(v ...interface{}) (int, error)

Print wraps fmt.Print

func (*Printer) Printf added in v1.0.0

func (p *Printer) Printf(f string, v ...interface{}) (int, error)

Printf wraps fmt.Printf

Jump to

Keyboard shortcuts

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