From 0609b02f82321577ba80cd368c6085fd0442f3f7 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Wed, 22 Jun 2022 15:10:07 -0400 Subject: [Cleanup] Make long lines shorter and fix static fmt warnings Besides running golines (for the first time in a while now that the tool supports generics), this commit removes punctuation and newlines from Errorf parameters -- something that gofmt does not like (I never knew!). --- extendedstats/other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extendedstats/other.go') diff --git a/extendedstats/other.go b/extendedstats/other.go index 960ee85..b4eae18 100644 --- a/extendedstats/other.go +++ b/extendedstats/other.go @@ -11,7 +11,7 @@ import ( type ExtendedStats struct{} func (es *ExtendedStats) IncorporateConnectionStats(conn net.Conn) error { - return fmt.Errorf("OOPS: IncorporateConnectionStats is not supported on this platform.") + return fmt.Errorf("OOPS: IncorporateConnectionStats is not supported on this platform") } func (es *ExtendedStats) Repr() string { -- cgit v1.2.3