jeudi 14 mai 2015

How to display data from an sql database with Go

I'm making a small web app with Go, I started out with a template tool on github and added the ability to post a short message which gets stored in an sql database. How would I display the information on the website?

Here is a gist of my home.go handler, the template it uses, and message.go which interacts with the sql database.
http://ift.tt/1IEq8qF




Aucun commentaire:

Enregistrer un commentaire