joaoh82 / buildingapi

My template for building APIs with Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

buildingapi is a template for building APIs with Go

Features

  • Routing (github.com/go-chi/chi/v5)
  • Connecting to PostgreSQL DB
  • Using GORM
  • Broken down into Routes/Entities/Services/Repository
  • Handling API Versioning
  • Self Implemented Middlewares
  • Utils Folder
  • Tracing (go.opentelemetry.io/otel)
  • Error Handling
  • Graceful Shutdown through the use of signals and channels
  • Strutured Logging (github.com/rs/zerolog)

About

My template for building APIs with Go

License:MIT License


Languages

Language:Go 100.0%