# master-key-go **Repository Path**: wkc/master-key-go ## Basic Information - **Project Name**: master-key-go - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Master-Key-Go Srv This is the Master-Key-Go service with fqdn go.micro.srv.master-key-go. ## Getting Started ### Prerequisites Install Consul [https://www.consul.io/intro/getting-started/install.html](https://www.consul.io/intro/getting-started/install.html) Run Consul ``` $ consul agent -dev -advertise=127.0.0.1 ``` ### Run Service ``` $ go run main.go ``` ### Building a container If you would like to build the docker container do the following ``` CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o master-key-go-srv ./main.go docker build -t master-key-go-srv . ``` https://www.zybuluo.com/mdeditor#701905