Fixed code to use prepared statements so that it actually works now. Also, gofmt.