Improve golang CI

This commit is contained in:
Aron Wussler 2022-05-17 15:55:27 +02:00
parent 8145690bfd
commit fee9ec19fd
5 changed files with 46 additions and 29 deletions

View file

@ -44,4 +44,6 @@ linters:
- gomoddirectives # Prohibits the use of replace statements
- varnamelen # Forbids short var names
- ireturn # Prevents returning interfaces
- forcetypeassert # Forces to assert types in tests
- forcetypeassert # Forces to assert types in tests
- nonamedreturns # Disallows named returns
- exhaustruct # Forces all structs to be named