github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/template/README.md (about)

     1  # Templates
     2  
     3  This directory contains templates generated with the `micro new [service]` command.
     4  
     5  Find out more on the usage at [micro/new](https://github.com/micro/micro/tree/master/new).
     6  
     7  ## How they were generated
     8  
     9  ### API
    10  
    11  ```
    12  micro new --type api --alias template github.com/micro/go-micro/examples/template/api
    13  ```
    14  
    15  ### FNC
    16  
    17  ```
    18  micro new --type fnc --alias template github.com/micro/go-micro/examples/template/fnc
    19  ```
    20  
    21  ### SRV
    22  
    23  ```
    24  micro new --type srv --alias template github.com/micro/go-micro/examples/template/srv
    25  ```
    26  
    27  ### WEB
    28  
    29  ```
    30  micro new --type web --alias template github.com/micro/go-micro/examples/template/web
    31  ```
    32