package notes import ( "time" ) type Note struct { URI string `json:"uri"` AuthorDID string `json:"authorDid"` AuthorHandle string `json:"authorHandle"` AuthorName string `json:"authorName"` AvatarURL string `json:"avatarURL"` Text string `json:"text"` CreatedAt time.Time `json:"createdAt"` ReplyTo *string `json:"replyTo,omitempty"` Facets []Facet `json:"facets,omitempty"` } type Facet struct { ByteStart int `json:"byteStart"` ByteEnd int `json:"byteEnd"` Type string `json:"type"` Value string `json:"value"` // the link destination, whether url, profile or tag }