An open API service indexing awesome lists of open source software.

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

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