go-service

module
v0.0.0-...-25191b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2022 License: MIT

README

goservice

Base web service project in Go, currently aiming for basic http api implementation.

End goal is to have a single project that could be run using either gRPC or REST api.

Requirements

  • Go v1.16
  • make

Environment Variables

Service:

  • API_PORT: 80
  • LOG_LEVEL: info

Docker:

  • DOCKER_REPO: user/repo

Usage

Only need to clone the repo and run

make

Or run with Docker, you have to set the Docker env vars.

make run-docker

License

MIT

Directories

Path Synopsis
app
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL