style: fix gofmt formatting inconsistencies

Run gofmt -w to fix tab/space inconsistencies across 33 files.
This commit is contained in:
rcourtman 2025-11-26 23:44:36 +00:00
parent b40a33fd2b
commit 2fe7bb6141
33 changed files with 584 additions and 584 deletions

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows // +build !windows
package main package main

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package main package main

View file

@ -37,4 +37,3 @@ func startMetricsServer(ctx context.Context, addr string) {
} }
}() }()
} }

View file

@ -159,4 +159,5 @@ func (h *DockerMetadataHandler) HandleDeleteMetadata(w http.ResponseWriter, r *h
w.WriteHeader(http.StatusNoContent) w.WriteHeader(http.StatusNoContent)
} }
// test comment // test comment

View file

@ -9,9 +9,9 @@ import (
"sync" "sync"
"time" "time"
_ "github.com/mattn/go-sqlite3"
"github.com/rcourtman/pulse-go-rewrite/internal/alerts" "github.com/rcourtman/pulse-go-rewrite/internal/alerts"
"github.com/rcourtman/pulse-go-rewrite/internal/utils" "github.com/rcourtman/pulse-go-rewrite/internal/utils"
_ "github.com/mattn/go-sqlite3"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
) )

View file

@ -246,8 +246,6 @@ func TestMemoryStatusUnmarshalFlexibleValues(t *testing.T) {
} }
} }
// TestMemoryStatusEffectiveAvailable_RegressionIssue435 tests the specific scenarios // TestMemoryStatusEffectiveAvailable_RegressionIssue435 tests the specific scenarios
// reported in GitHub issue #435 where memory calculations incorrectly included cache/buffers // reported in GitHub issue #435 where memory calculations incorrectly included cache/buffers
func TestMemoryStatusEffectiveAvailable_RegressionIssue435(t *testing.T) { func TestMemoryStatusEffectiveAvailable_RegressionIssue435(t *testing.T) {