# microExample **Repository Path**: momo88/microExample ## Basic Information - **Project Name**: microExample - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-10-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Example Service This is the Example service Generated with ``` micro new micro-example-srv --namespace=go.micro --type=srv ``` ## Getting Started - [Configuration](#configuration) - [Dependencies](#dependencies) - [Usage](#usage) ## Configuration - FQDN: go.micro.srv.micro-example-srv - Type: srv - Alias: micro-example-srv ## Dependencies Micro services depend on service discovery. The default is consul. ``` # install consul brew install consul # run consul consul agent -dev ``` ## Usage A Makefile is included for convenience Build the binary ``` make build ``` Run the service ``` ./micro-example-srv ``` Build a docker image ``` make docker ```