Documentation
¶
Index ¶
Constants ¶
View Source
const ( AUTOCMD = "auto" MANUALCMD = "manual" TrackAutoCMD = AUTOCMD TrackManualCMD = MANUALCMD )
CLI Commands
View Source
const ( InfoCollectionSuccess = "All benchmarks and profile processing completed successfully!" IMPROVEMENT = "IMPROVEMENT" REGRESSION = "REGRESSION" STABLE = "STABLE" )
View Source
const ( MainDirOutput = "bench" ProfileTextDir = "text" ProfileBinDir = "bin" PermDir = 0o755 PermFile = 0o644 FunctionsDirSuffix = "_functions" TextExtension = "txt" ConfigFilename = "config_template.json" GlobalSign = "*" )
Variables ¶
This section is empty.
Functions ¶
func CleanOrCreateDir ¶
CleanOrCreateDir cleans a directory if it exists, or creates one if it.
func FindGoModuleRoot ¶ added in v1.7.0
FindGoModuleRoot searches upwards from the current working directory for a directory containing a go.mod file and returns its absolute path. If none is found, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.