github.com/brycereitano/goa@v0.0.0-20170315073847-8ffa6c85e265/goagen/gen_client/doc.go (about)

     1  /*
     2  Package genclient provides a generator for the client tool and package of a goa application.
     3  The generator creates a main.go file and a subpackage containing data structures specific to the
     4  service.
     5  
     6  The generated code includes a client package with:
     7  
     8      * One client method per resource action
     9      * Helper functions to build the corresponding request paths
    10      * Structs for the action payloads and dependent types
    11      * Structs for the action media types and corresponding decoder functions
    12  
    13  The generated code also includes a CLI tool with commands for each action and sub-commands for
    14  each resource.
    15  */
    16  package genclient