Golang GAE - intID in struct for mustache
Here is an Example of the app. The essential code is in: golang-code/handler/handler.go (After the subject should appear an ID!) Im trying to build a little blog system in Golang on Google Appengine and use Mustache as template engine. So, i have a struct: type Blogposts struct { PostTitle string PostPreview string Content string Creator string Date time.Time } The data is passed to GAE via datastore.Put(c, datastore.NewIncompleteKey(c, "Blogposts", nil), &blogposts) So, GAE assigns automatically a intID (int64). Now I tried to get the latest blogposts // Get the latest blogposts c :=