Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { // Replies to this block. Children []*Block // The message this block comes from. Source *Message // The region of this block's text in the source message. SourceStart, SourceEnd int // If this block is a reply to a particular chunk of the parent block, // ParentStart and ParentEnd indicate the region in the parent's body. // Otherwise, they are set to -1. ParentStart is an inclusive offset and // ParentEnd is an exclusive offset. ParentStart, ParentEnd int }
Block is a block of text in the thread.
Blocks are parts of a message's body that aren't quotes of the parent message. A block can be a reply to a parent block, in which case the ParentStart and ParentEnd fields indicate which part of the parent message is replied to. A block can have replies, each of which will be represented by a block in the Children field.
Click to show internal directories.
Click to hide internal directories.