Documentation ¶
Index ¶
Constants ¶
View Source
const ( Key = iota Value Relay )
The tag position meanings so they are clear when reading.
View Source
const ( MarkerReply = "reply" MarkerRoot = "root" MarkerMention = "mention" )
T marker strings for e (reference) tags.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T []string
T is a list of strings with a literal ordering.
Not a set, there can be repeating elements.
func (T) MarshalTo ¶
MarshalTo T. Used for Serialization so string escaping should be as in RFC8259.
func (T) StartsWith ¶
StartsWith checks a tag has the same initial set of elements.
The last element is treated specially in that it is considered to match if the candidate has the same initial substring as its corresponding element.
Click to show internal directories.
Click to hide internal directories.