Write your SQL queries in raw files with all benefits of modern IDEs, use them in an easy way inside your application with all the profit of compile time constants
Why do you think that https://github.com/DATA-DOG/go-sqlmock is a good alternative to qry