Skip to content

Commit 027f197

Browse files
harisolovromazgon
andauthored
Add underscores to out path (#12)
* Add underscores to out path This makes it easier to read the time. * Update cmd/benchi/main.go Co-authored-by: Lovro Mažgon <lovro.mazgon@gmail.com> --------- Co-authored-by: Lovro Mažgon <lovro.mazgon@gmail.com>
1 parent 6106eda commit 027f197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/benchi/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func mainE() error {
7575
return fmt.Errorf("output path is required")
7676
}
7777

78-
*outPathFlag = strings.ReplaceAll(*outPathFlag, "${now}", time.Now().Format("20060102150405"))
78+
*outPathFlag = strings.ReplaceAll(*outPathFlag, "${now}", time.Now().Format("20060102_150405"))
7979

8080
// Create output directory if it does not exist.
8181
err := os.MkdirAll(*outPathFlag, 0o755)

0 commit comments

Comments
 (0)