evrone/go-clean-template ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go backend service template with clean architecture, something I can use as a real starting point for a microservice project.

I want it to include user registration and login with JWT auth, a task manager where users can create, edit, list, delete, and move tasks through simple statuses, and a translation feature that calls an external API and saves translation history.

Please make the same business logic available through a REST API, gRPC, RabbitMQ request reply, and NATS request reply. Add the usual basics too, like database migrations, validation, structured logging, health checks, metrics, Swagger docs, and distributed tracing. It should be easy to run locally with Docker, and there should be a way to run integration tests as well.

Keep the code organized so the business logic stays separate from delivery details, and make it feel like a solid template I could extend for other services. If you need to, look up current docs for the libraries you choose.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab