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

https://github.com/unexist/showcase-microservices-golang

Showcase for Microservices based on Golang [MIRROR]
https://github.com/unexist/showcase-microservices-golang

gin-gonic golang mux showcase testify

Last synced: about 1 year ago
JSON representation

Showcase for Microservices based on Golang [MIRROR]

Awesome Lists containing this project

README

          

= Showcase for microservices on Golang

This project holds a showcase for Golang related things.

== Modules

[cols="1,3"]
|===
| todo-service-gin
| Small implementation based on Gin-Gonic, 3-Layer and DI (Dependency Inversion + Dependency Injection)

| todo-service-metrics
| Enhanced implementation with metrics (Prometheus)

| todo-service-gin-middleware
| Implementation revamped with authorization middleware and an application service

| todo-service-gin-tracing
| Enhanced implementation with distributed tracing (zipkin)

| todo-service-gin-transaction
| Enhanced implementation with multiple services and simple transactions

| todo-service-gin-transactor
| Enhanced implementation with multiple services and transactor

| todo-service-mux
| Old test with Mux
|===

== Links

- https://github.com/gorilla/mux
- https://github.com/gin-gonic/gin
- https://github.com/swaggo/gin-swagger
- https://github.com/swaggo/swag
- https://github.com/cucumber/godog
- https://github.com/google/wire
- https://github.com/datosh/gau
- https://github.com/IBM/sarama
- https://github.com/bracesdev/errtrace
- https://go.dev/blog/deadcode
- https://github.com/appliedgocode/what
- https://gorm.io/index.html

== Tracing

- https://uptrace.dev/get/instrument/opentelemetry-gin.html#gin-instrumentation
- https://uptrace.dev/get/instrument/opentelemetry-gorm.html#usage
- https://zipkin.io/
- https://www.jaegertracing.io/
- https://github.com/open-telemetry/opentelemetry-go/blob/main/example/zipkin/main.go
- https://medium.com/devthoughts/instrumenting-a-go-application-with-zipkin-b79cc858ac3e
- https://opentelemetry.io/docs/collector/

== Metrics

- https://prometheus.io/
- https://github.com/penglongli/gin-metrics
- https://medium.com/@yianwilson/custom-prometheus-metrics-468ea7c4d1d0

== Testing

- https://github.com/lucaspickering/slumber
- https://hurl.dev/

== Transactions

- https://blog.thibaut-rousseau.com/blog/sql-transactions-in-go-the-good-way/
- https://github.com/Thiht/transactor
- https://github.com/jmoiron/sqlx