Clear staticcheck, gopls and go.mod warnings

This commit is contained in:
flamingcow
2026-07-26 10:33:38 -07:00
parent 102d53fb9b
commit 5e2b36bdaa
3 changed files with 14 additions and 17 deletions
-8
View File
@@ -60,14 +60,6 @@ var patterns = []pattern{
}},
}
func patternNames() []string {
names := make([]string, len(patterns))
for i, p := range patterns {
names[i] = p.name
}
return names
}
// Every pattern is laid out at full length up front with its checksum at each
// size, so a sender picks a pattern by choosing a buffer, never by writing one.
type frameSpec struct {