go-microservice

module
v0.0.0-...-814ee21 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT

README

go-microservice

basic usage

run locally

go run cmd/main.go

run docker

Building the docker image

docker build -t "go-microservice" .

Run the docker image without a config file. This will use some defaults.

docker run "go-microservice"

Run docker immage with a config file.

docker run --mount type=bind,source=<ABSOLUTE PATH>/config.yaml,target=/config/config.yaml "go-microservice"

Directories

Path Synopsis
std
pkg

Jump to

Keyboard shortcuts

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