Skip to content

Commit

Permalink
CodeTools.md: cleanup links, improve formatting
Browse files Browse the repository at this point in the history
Update outdated links.
Improve description for golangci-lint by removing deprecated "golint".
Mark as "Deprecated" tools that are archived on GitHub.
Use "https" links instead of "http".
Add missing dots for sentences.
Add EOF.

Change-Id: I2dda7c0efc28ce7586acd3306d51373be669e7a0
Reviewed-on: https://go-review.googlesource.com/c/wiki/+/604675
Reviewed-by: Ian Lance Taylor <[email protected]>
Commit-Queue: Ian Lance Taylor <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
  • Loading branch information
alexandear authored and gopherbot committed Aug 12, 2024
1 parent ab13538 commit d5c1a89
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions CodeTools.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ An overview of tools that will help improve your Go code

## All-in-one

- [golangci-lint](https://github.com/golangci/golangci-lint) - Bundle of `gofmt`, `golint`, `govet` and many other tools that shares work between the different linters for better performance. Recommended by the original author to replace gometalinter (Drop-in replacement).
- [golangci-lint](https://github.com/golangci/golangci-lint) - Fast linters runners for Go. Bundle of `gofmt`, `govet`, `errcheck`, `staticcheck`, `revive` and many other linters. Recommended by the original author to replace gometalinter (Drop-in replacement).
- DEPRECATED: [gometalinter](https://github.com/alecthomas/gometalinter) - Automates the installation, configuration and application of `gofmt`, `golint`, `govet` and several other code validation tools.

## Code Formatting

### Articles

- [Formatting Go Code with gofmt](http://golangtutorials.blogspot.com/2011/06/formatting-go-code-with-gofmt.html)
- [Formatting Go Code with gofmt](https://golangtutorials.blogspot.com/2011/06/formatting-go-code-with-gofmt.html)

### Tools

- [air](https://github.com/cosmtrek/air) - Live reload for Go apps
- [air](https://github.com/air-verse/air) - Live reload for Go apps.
- [gofmt](https://pkg.go.dev/cmd/gofmt/) - Start with the standard Go code formatter.
- [golint](https://github.com/golang/lint) - Detects style mistakes in Go code (deprecated).
- DEPRECATED: [golint](https://github.com/golang/lint) - Detects style mistakes in Go code.
- [staticcheck](https://staticcheck.io/) - Go programming language linter.
- [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports) - Format code and fix your import statements.
- [gofumpt](https://github.com/mvdan/gofumpt) - A stricter gofmt.
Expand All @@ -28,10 +28,10 @@ An overview of tools that will help improve your Go code
## Code generation, Templating and Generics

- [json-to-go](https://mholt.github.io/json-to-go/) - Generate Go structs from JSON.
- [Go gen](http://clipperhouse.github.io/gen/) - Type-driven code generation (generics)
- [Go gen](https://clipperhouse.com/gen/overview/) - Type-driven code generation (generics).
- [gojson](https://github.com/ChimeraCoder/gojson) - Another Go struct generator.
- [gotemplate](https://github.com/ncw/gotemplate) - Package-based templating system for Go.
- [sqlgen](https://github.com/drone/sqlgen) - Generate Go code for SQL interactions.
- DEPRECATED: [sqlgen](https://github.com/drone/sqlgen) - Generate Go code for SQL interactions.
- [zek](https://github.com/miku/zek) - Generate Go struct from XML.
- [apidocgen](https://github.com/alovn/apidocgen) - Generate web apis markdown docs and mocks.
- [goaccessor](https://github.com/yujiachen-y/goaccessor) - Getters and setters generator.
Expand All @@ -41,7 +41,7 @@ An overview of tools that will help improve your Go code
### Articles

- [gorename - easy refactoring](https://texlution.com/post/gorename/)
- [Refactoring Tools](http://blog.ralch.com/tutorial/golang-tools-refactoring/) - An overview of refactoring tools for Go.
- [Refactoring Tools](https://blog.ralch.com/articles/golang-tools-refactoring/) - An overview of refactoring tools for Go.
- [Quick renaming with gofmt](http://technosophos.com/2015/09/26/quick-go-hack-renaming-structs.html)

### Tools
Expand All @@ -58,10 +58,10 @@ An overview of tools that will help improve your Go code

### Tools

- [AlignCheck, StructCheck, VarCheck](https://github.com/opennota/check/) - A suite of tools for checking your code.
- [AlignCheck, StructCheck, VarCheck](https://gitlab.com/opennota/check) - A suite of tools for checking your code.
- [errcheck](https://github.com/kisielk/errcheck) - Ensure you check your error conditions.
- [go vet](https://pkg.go.dev/cmd/vet/) - Read this first on how to use the `go vet` command.
- [SafeSQL](https://github.com/stripe/safesql) - Protect against unsafe SQL in your code (deprecated).
- DEPRECATED: [SafeSQL](https://github.com/stripe/safesql) - Protect against unsafe SQL in your code (deprecated).

## Navigation

Expand All @@ -70,5 +70,5 @@ An overview of tools that will help improve your Go code

## Visualization

- [godepgraph](http://github.com/kisielk/godepgraph) - A tool for generating dependency graphs of Go code.
- [go-size-analyzer](https://github.com/Zxilly/go-size-analyzer) - A tool that shows the size of each dependency of a Go binary.
- [godepgraph](https://github.com/kisielk/godepgraph) - A tool for generating dependency graphs of Go code.
- [go-size-analyzer](https://github.com/Zxilly/go-size-analyzer) - A tool that shows the size of each dependency of a Go binary.

0 comments on commit d5c1a89

Please sign in to comment.