Add code linting to build #13
8
.golangci.yml
Normal file
8
.golangci.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
linters-settings:
|
||||||
|
errcheck:
|
||||||
|
exclude-functions:
|
||||||
|
- io/ioutil.ReadFile
|
||||||
|
- io.Copy(*bytes.Buffer)
|
||||||
|
- (*github.com/gin-gonic/gin.Context).AbortWithError
|
||||||
|
- (*github.com/gin-gonic/gin.Context).AbortWithError
|
||||||
|
- io.Copy(os.Stdout)
|
Loading…
x
Reference in New Issue
Block a user