Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommentContext = r.CreateContext(r.State{Comments{}})
View Source
var StoriesContext = r.CreateContext(r.State{Stories{}})
Functions ¶
Types ¶
type CommentItem ¶
type Comments ¶
type Comments struct { Cache map[int]CommentItem Update func(id int, item CommentItem) }
Click to show internal directories.
Click to hide internal directories.