From cf3c86b22837153383e8ac7a362314d22a84c491 Mon Sep 17 00:00:00 2001 From: Jianwei Han Date: Thu, 19 Nov 2015 12:03:27 +0800 Subject: [PATCH 1/2] Add goreturns to code analysis section --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index deea2d1..fbf8bf8 100644 --- a/README.md +++ b/README.md @@ -942,6 +942,7 @@ Go software and plugins. * [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports) - Tool to fix (add, remove) your Go imports automatically. * [GoLint](https://github.com/golang/lint) - Golint is a linter for Go source code. * [Golint online](http://go-lint.appspot.com/) - Lints online Go source files on GitHub, Bitbucket and Google Project Hosting using the golint package. +* [goreturns](https://github.com/sqs/goreturns) - Adds zero-value return statements to match the func return types. * [gostatus](https://github.com/shurcooL/gostatus) - A command line tool, shows the status of repositories that contain Go packages. * [validate](https://github.com/mccoyst/validate) - Automatically validates struct fields with tags. From 2662efbe5c162ae8d9db189a8da2c3b3944d169c Mon Sep 17 00:00:00 2001 From: Jianwei Han Date: Thu, 19 Nov 2015 14:42:19 +0800 Subject: [PATCH 2/2] Fix goreturns URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fbf8bf8..63575ec 100644 --- a/README.md +++ b/README.md @@ -942,7 +942,7 @@ Go software and plugins. * [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports) - Tool to fix (add, remove) your Go imports automatically. * [GoLint](https://github.com/golang/lint) - Golint is a linter for Go source code. * [Golint online](http://go-lint.appspot.com/) - Lints online Go source files on GitHub, Bitbucket and Google Project Hosting using the golint package. -* [goreturns](https://github.com/sqs/goreturns) - Adds zero-value return statements to match the func return types. +* [goreturns](https://sourcegraph.com/sqs/goreturns) - Adds zero-value return statements to match the func return types. * [gostatus](https://github.com/shurcooL/gostatus) - A command line tool, shows the status of repositories that contain Go packages. * [validate](https://github.com/mccoyst/validate) - Automatically validates struct fields with tags.