Code Generation Tool goagen is a tool that generates various artifacts from a goa design package.
Install it with:
go install github.com/goadesign/goa/goagen Each type of artifact is associated with a goagen command that exposes it own set of flags. Internally these commands map to “generators” that contain the logic for generating the artifacts. It works something like this:
goagen parses the command line to determine the type of output desired and invokes the appropriate generator.
↧