Package genclient provides a generator for the client tool and package of a goa application. The generator creates a main.go file and a subpackage containing data structures specific to the service.
The generated code includes a client package with:
* One client method per resource action * Helper functions to build the corresponding request paths * Structs for the action payloads and dependent types * Structs for the action media types and corresponding decoder functions
The generated code also includes a CLI tool with commands for each action and sub-commands for each resource.
genclient is referenced in 2 repositoriesgithub.com/goadesign/goa
- 2 references in goagen/gen_client/cli_generator_test.go
- 2 references in goagen/gen_client/generator_test.go
- 1 reference in goagen/gen_client/cli_generator.go
- 1 reference in goagen/gen_client/doc.go
- 1 reference in goagen/gen_client/generator.go
- 2 references in generator.go