feat(ci): add a bunch more linters

This commit is contained in:
sentriz
2023-09-22 19:05:20 +02:00
parent 33f1f2e0cf
commit e3dd812b6c
37 changed files with 233 additions and 139 deletions

View File

@@ -1,6 +1,4 @@
// Package main is the gonic server entrypoint
//
//nolint:lll,gocyclo
//nolint:lll,gocyclo,forbidigo
package main
import (
@@ -370,8 +368,10 @@ func main() {
const pathAliasSep = "->"
type pathAliases []pathAlias
type pathAlias struct{ alias, path string }
type (
pathAliases []pathAlias
pathAlias struct{ alias, path string }
)
func (pa pathAliases) String() string {
var strs []string