utils

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogWhenVerbose = func(msg string, args ...interface{}) {
	log.Printf(msg, args...)
}

LogWhenVerbose will write debugging information to stdout when verbose mode is requested

Functions

func FindAllCoverageFiles

func FindAllCoverageFiles(basePath string) ([]string, error)

FindAllCoverageFiles will find all directories below the supplied one

func FindAllGoDirs

func FindAllGoDirs(basePath string) ([]string, error)

FindAllGoDirs will find all directories below the supplied with go files in them

func GetCurrentDir

func GetCurrentDir() string

GetCurrentDir will return the currently executing directory

func LogAlways

func LogAlways(msg string, args ...interface{})

LogAlways will write to stdout always

func VerboseOff

func VerboseOff()

VerboseOff will stop all verbose logs

Types

This section is empty.

Jump to

Keyboard shortcuts

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