Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { *adaptive.LoadablePage // contains filtered or unexported fields }
Comment describes a single comment. A comment can contain more comments.
func (*Comment) SetItem ¶
func (c *Comment) SetItem(item *hackernews.Item)
SetItem sets the fetched item and displays it.
type CommentAppender ¶
type CommentAppender interface {
Append(*Comment)
}
CommentAppender describes any widget that we can add comments to. It is implemented by View and Comment.
Click to show internal directories.
Click to hide internal directories.