From 835a15ec08867454b1a208122c357b990ea70a31 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Tue, 15 Feb 2022 11:51:38 +0000 Subject: [PATCH] Ad config for golangci --- .golangci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..6fb6306 --- /dev/null +++ b/.golangci.yml @@ -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) \ No newline at end of file