Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64P

func Float64P(v float64) *float64

    Float64P returns a pointer float

    func OpenBrowser

    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

        func StringP(str string) *string

          StringP returns a pointer string

          Types

          type Printer

          type Printer struct {
          	Debug bool
          }

            Printer only outputs if debug=true

            func (*Printer) Print

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

              Print wraps fmt.Print

              func (*Printer) Printf

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

                Printf wraps fmt.Printf