gofumpt lint and misc cleanup (#1682)

* gofumpt lint and misc cleanup

* Reorder fileInfo dircounts code to be clearer
This commit is contained in:
David Pedersen authored and GitHub committed 2024-04-20 21:42:28 +02:00
1 parent 6cabb0e8e4
commit a018257d50
10 files changed
+42 -45

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ var (
func serve() {
if gLogPath != "" {
f, err := os.OpenFile(gLogPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600)
f, err := os.OpenFile(gLogPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0o600)
if err != nil {
panic(err)
}