Clear staticcheck, gopls and go.mod warnings
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user