https://github.com/sercheo87/go-microservice-template
Template microservice for projects Go
https://github.com/sercheo87/go-microservice-template
Last synced: 2 months ago
JSON representation
Template microservice for projects Go
- Host: GitHub
- URL: https://github.com/sercheo87/go-microservice-template
- Owner: sercheo87
- License: apache-2.0
- Created: 2023-10-29T15:17:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-29T18:26:31.000Z (over 1 year ago)
- Last Synced: 2025-01-29T05:28:57.051Z (4 months ago)
- Language: Go
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-microservice-template
Template microservice for projects Go
## Installation
For use this template, you need to install the following tools:
```bash
$ go install golang.org/x/tools/cmd/gonew@latest
$ gonew github.com/sercheo87/go-microservice-template example.com/foo
```## Usage
Run the following command to start the server:
```bash
$ go run pkg/main.go
```For generate a binary file, run the following command:
```bash
$ make all
```Created by 🚀[@sercheo87](https://github.com/sercheo87) 2023