goadesign / goa

🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
https://goa.design
MIT License
5.63k stars 557 forks source link

Move templates out of Go code into their own files #3456

Closed raphael closed 7 months ago

raphael commented 7 months ago

This makes the code clearer, avoids the ability to abuse templates (e.g. via string interpolation) and makes debugging template errors easier.