Categorygithub.com/golang-cz/skeleton
repository
0.0.0-20240102193711-d3572e2e0279
Repository: https://github.com/golang-cz/skeleton.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

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