From: Tiko at 2017-09-23 05:49:18
i need to add syntax highlighting now that this came out https://github.com/alecthomas/chroma
code test
func (t *Thread) Bump(ctx context.Context, userID string) error {
table := dynamoTable(ctx, "Threads")
return table.Update("Zone", t.Zone).Range("ID", t.ID).
Set("LastPost", time.Now().UTC()).
Add("Posts", 1).
AddStringsToSet("Posters", userID).
AddStringsToSet("Subscribers", userID).
Value(t)
}
eti needs this feature
can’t read blocks of colorless garbage