by guggle · 3y ago · 0 comments
<ul>
{{range .Query `SELECT id,name FROM contacts`}}
<li><a href="/contact/{{.id}}">{{.name}}</a></li>
{{end}}
</ul>
…reminds me of what we used to do in php3 days. That was convenient, performant and… unmaintainable. Am I missing something ?The proposal is that Locality of Behavior > Separation of Concerns. Maybe its true! We'll see. :)