Skip to content
Samer Masterson edited this page Feb 2, 2015 · 12 revisions

Go 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 – Yacc for Go
  • stringer – Generates Stringer types for enums
  • jsonenums – Generates json.Marshaler and json.Unmarshaler types for enums
  • gen-mocks – Generate mocks for interfaces
Clone this wiki locally