vprint

package
v0.22.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0

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

OurStdout is used so we can multi write easily, use our own printf.

View Source
var VerboseVerbose bool = false

VerboseVerbose will result in tons of debug output when set to true.

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 interface{})

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 Stack

func Stack() string

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