go-subscription

command module
v0.0.0-...-74e2ea9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 12 Imported by: 0

README

go-subscription

A simple restful api with mongo db connection. It can store and list all the emails for subscription.

Run in Windows

go run .

Build in Windows

go build -o go-subscription

Run in docker

docker build -t go-subscription .
docker run --rm -dp 2000:8090 go-subscription

Interactive with docker

docker build -t go-subscription .
docker run --rm -it go-subscription

Remove Containers

docker kill $(docker ps -q)

Remove Images

docker rmi $(docker images -a -q)

Reference

https://blog.codecentric.de/en/2020/04/golang-gin-mongodb-building-microservices-easily/ https://github.com/Andreas-Maier/task-management

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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