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

     1  # Template Service
     2  
     3  This is the Template service
     4  
     5  Generated with
     6  
     7  ```
     8  micro new github.com/micro/go-micro/examples/template/srv --namespace=go.micro --alias=template --type=srv
     9  ```
    10  
    11  ## Getting Started
    12  
    13  - [Configuration](#configuration)
    14  - [Dependencies](#dependencies)
    15  - [Usage](#usage)
    16  
    17  ## Configuration
    18  
    19  - FQDN: go.micro.srv.template
    20  - Type: srv
    21  - Alias: template
    22  
    23  ## Usage
    24  
    25  A Makefile is included for convenience
    26  
    27  Build the binary
    28  
    29  ```
    30  make build
    31  ```
    32  
    33  Run the service
    34  ```
    35  ./template-srv
    36  ```
    37  
    38  Build a docker image
    39  ```
    40  make docker
    41  ```