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

     1  # Command
     2  
     3  This is an example of a bot command as a microservice
     4  
     5  ## Contents
     6  
     7  - main.go - is the main definition of the service and handler
     8  
     9  ## Run the example
    10  
    11  Run the service
    12  
    13  ```shell
    14  go run main.go
    15  ```
    16  
    17  ## Call the service
    18  
    19  Run the [bot](https://micro.mu/docs/bot.html) and send message `command`