is there any way to add fields to a struct dynamically?
are algos required for golang jobs usually?
if i run the db insert in another goroutine maybe it takes 5 seconds to finish but the client should receive a success message instantly right?
what architecture do you guys recommend for a medium/big monolithic rest api?
v1/user/create/[id] can someone help me extract [id] with regex?
If one docker compose file has 4 other microservices images and they all depend on the same db in the compose file, is it considered a shared database?
Why not have 2 separate methods for add/delete?
what do you guys use for mocking postgres? datadog sqlmock?
How should be foreign keys handled when using microservices? Lets say we have users and products (should reference the user id that added a product) databases in different mic...
Anyone knows a good book on advanced concurrency?
if you have a rest endpoint like: /users/25/comments/1 should you join the tables or just check if comment with id 1 has user_id 25?
whats a good/correct approach to handle config files for different deploy stages?
is it bad to create a new logger instance for each http request? should i implement sync.pool?
anyone knows some good resources, maybe a book on APIs? best practices etc, doesn't have to be for golang
What database do you guys suggest for website analytics? Each website visit would be a db insert
if i want to scale the authentication service and i add one more database because one cant handle the traffic, would kubernetes handle that for me or i have to handle it mysel...
right but you just tell the user it was successful?
But how would you fix it, add 1 db for each microservice in the compose file?
anyone knows why CORS still wont work?
if the products service wants to get an id from the authentication service it sends a request to the gateway (grpc client) and the client forwards it to the auth service?