Built my first go project. Looking for feedback or advice.

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • urlShortener

  • urlshortener

    A basic url shortener service (by quaintdev)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cobra

    A Commander for modern Go CLI interactions

  • actually i kinda like it, but in my company we would probably use a dedicated cli framework like cobra (https://cobra.dev/), even if the only command is for launching one application. by doing that we can easily expand applications and add more microservices or run multiple instances of the same application with different arguments passed in the cli. also i would maybe rename the initializers package and DB pointer to something more verbose like database or db and Instance and wrap the actual initialization in a sub package or smth like that and then use in the code db.Instance.First for the queries for example but idk if that makes sense in that case, overall very nice work man :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts