Improve wording to be more precise about what the tools do; improve formatting.

Dmitri Shuralyov 2015-02-05 19:02:00 -08:00
parent 25b2f97277
commit bb6383dedb

@ -1,6 +1,6 @@
[Go Generate](https://blog.golang.org/generate) is only useful if you have tools to use it with! Here is an incomplete list of useful tools that generate code.
[`go generate`](https://blog.golang.org/generate) is only useful if you have tools to use it with! Here is an incomplete list of useful tools that generate code.
* [go tool yacc](https://golang.org/cmd/yacc/) Yacc for Go
* [stringer](https://godoc.org/golang.org/x/tools/cmd/stringer) Generates Stringer types for enums
* [jsonenums](https://github.com/campoy/jsonenums) Generates json.Marshaler and json.Unmarshaler types for enums
* [go tool yacc](https://golang.org/cmd/yacc/) Yacc for Go.
* [stringer](https://godoc.org/golang.org/x/tools/cmd/stringer) Implements `fmt.Stringer` interface for enums.
* [jsonenums](https://github.com/campoy/jsonenums) Implements `json.Marshaler` and `json.Unmarshaler` interfaces for enums.
* [gen-mocks](https://sourcegraph.com/sourcegraph/gen-mocks) Generate mocks for interfaces. Used in [go-sourcegraph](https://sourcegraph.com/sourcegraph.com/sourcegraph/go-sourcegraph@master/.tree/sourcegraph).