gobenchdata: github.com/bobheadxi/gobenchdata/internal Index | Files

package internal

import "github.com/bobheadxi/gobenchdata/internal"

Index

Package Files

browser.go print.go ptr.go slice.go

func Float64P Uses

func Float64P(v float64) *float64

Float64P returns a pointer float

func OpenBrowser Uses

func OpenBrowser(url string)

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

func Popleft Uses

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

Popleft pops the first string off a slice

func StringP Uses

func StringP(str string) *string

StringP returns a pointer string

type Printer Uses

type Printer struct {
    Debug bool
}

Printer only outputs if debug=true

func (*Printer) Print Uses

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

Print wraps fmt.Print

func (*Printer) Printf Uses

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

Printf wraps fmt.Printf

Package internal imports 4 packages (graph). Updated 2020-05-27. Refresh now. Tools for package owners.