Our great sponsors
-
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.
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 :)