From c829a9a2988abb966f8b81b0a8871af7d5f53f18 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch Date: Sun, 27 May 2018 22:28:33 -0700 Subject: [PATCH] Add gochecknoglobals and gochecknoinits Add `gochecknoglobals` and `gochecknoinits`. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1100a09..97a74dc 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,8 @@ Sponsored by [GolangCI](https://golangci.com): SaaS service for running linters * [dupl](https://github.com/mibk/dupl) - Tool for code clone detection. * [go-checkstyle](https://github.com/qiniu/checkstyle) - checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style refered to some points in Go Code Review Comments. * [go-cleanarch](https://github.com/roblaszczak/go-cleanarch) - go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects. +* [gochecknoinits](https://4d63.com/gochecknoinits) - Find init functions, to reduce side effects in code. +* [gochecknoglobals](https://4d63.com/gochecknoglobals) - Find global vars, to reduce side effects in code. * [goconst](https://github.com/jgautheron/goconst) - Find in Go repeated strings that could be replaced by a constant. * [GoLint](https://github.com/golang/lint) - Golint is a linter for Go source code. * [gosimple](https://github.com/dominikh/go-tools/tree/master/cmd/gosimple) - gosimple is a linter for Go source code that specialises on simplifying code.