Tried postgres

This commit is contained in:
Torkel Ödegaard
2014-11-24 10:17:13 +01:00
parent a8f915f049
commit be781bdb98
9 changed files with 76 additions and 49 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func (ctx *Context) JsonApiErr(status int, message string, err error) {
resp["message"] = message
}
ctx.HTML(status, "index")
ctx.JSON(status, resp)
}
func (ctx *Context) JsonBody(model interface{}) bool {