go-microservice-sample

module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0

README

Sample Microservice with Go, MySql and Docker.

This sample was developed using Hexagonal architecture pattern. View concept here link.

  1. Create models structure [DONE]
  2. Access to database with go-sql
  3. Create gateways
  4. Create web server, handlers and routing with Chi
  5. Generate documentation with Swagger
  6. Run Tests pipeline
  7. Makefile
  8. Generate docker image
  9. Deploy microservice in K8S

Comandos

go mod init go mod tidy go mod vendor

Directories

Path Synopsis
cmd
gadgets
internal
reviews

Jump to

Keyboard shortcuts

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