Versions in this module Expand all Collapse all v1 v1.2.0 Jan 21, 2019 v1.1.0 Jan 6, 2019 Changes in this version + func GetUserInfo(r *http.Request) (user store.User, err error) + func MustGetUserInfo(r *http.Request) store.User + func SendErrorJSON(w http.ResponseWriter, r *http.Request, code int, err error, details string) + func SetUserInfo(r *http.Request, user store.User) *http.Request + type Node struct + Comment store.Comment + Replies []*Node + type Tree struct + Info store.PostInfo + Nodes []*Node + func MakeTree(comments []store.Comment, sortType string, readOnlyAge int) *Tree