chore(lint): add linters dupword, paralleltest and gocheckcompilerdirectives

This commit is contained in:
Quentin McGaw
2023-06-08 07:21:12 +00:00
parent a9cd7be3f9
commit 37f0e5c73b
4 changed files with 10 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ func extractProto(line string) (protocol string, err error) {
var (
errRemoteLineFieldsCount = errors.New("remote line has not 2 fields as expected")
errHostNotIP = errors.New("host is not an an IP address")
errHostNotIP = errors.New("host is not an IP address")
errPortNotValid = errors.New("port is not valid")
)