Skip to content
/ skeleton Public template

Skeleton app for Golang backend monorepos

Notifications You must be signed in to change notification settings

golang-cz/skeleton

Repository files navigation

skeleton

Skeleton app for all our go backends

Convo example branch

  • Tools:

  • Run http server on port, which is defined in etc/config.toml

  • Logging

    • Local environment: unstructured logging

      • Straight to console?
    • Production environment: structured logging (json)

      • Straight to console?
  • Implementation of gracefull shutdown of http server

  • Database:

    • PostgreSQL?
    • Hosted in Docker with docker-compose
  • Configuration https middlewares:

    • RealIP
    • RequestLogger
    • Recoverer
      • Local: run it
      • Production: log it to sentry and kibana
  • Status page

    • Status info
      • db
      • information about go application
    • Example