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

     1  /*
     2  Package genjs provides a goa generator for a javascript client module.
     3  The module exposes functions for calling the API actions. It relies on the
     4  axios (https://github.com/mzabriskie/axios) javascript library to perform the actual HTTP requests.
     5  
     6  The generator also produces an example controller and index HTML that shows how to use the module.
     7  The controller simply serves all the files under the "js" directory so that loading "/js" in a
     8  browser triggers the example code.
     9  */
    10  package genjs