synthload

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RFC3339MsecTz0 = "2006-01-02T15:04:05.000Z07:00"
View Source
const RFC3339UsecTz0 = "2006-01-02T15:04:05.000000Z07:00"

Variables

View Source
var OurStdout io.Writer = os.Stdout

so we can multi write easily, use our own printf

View Source
var VerboseVerbose bool = false

for tons of debug output

Functions

func AlwaysPrintf

func AlwaysPrintf(format string, a ...interface{})

func Caller

func Caller(upStack int) string

Caller returns the name of the calling function.

func DirExists

func DirExists(name string) bool

func FileExists

func FileExists(name string) bool

func FileLine

func FileLine(depth int) string

func FileSize

func FileSize(name string) (int64, error)

func PP

func PP(format string, a ...interface{})

func PanicOn

func PanicOn(err error)

func Printf

func Printf(format string, a ...interface{}) (n int, err error)

Printf formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.

func TSPrintf

func TSPrintf(format string, a ...interface{})

time-stamped printf

func VV

func VV(format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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