linstrom/ap/tag.go

11 lines
270 B
Go
Raw Normal View History

2024-01-30 11:26:41 +00:00
package ap
import "net/url"
2024-01-31 16:56:07 +00:00
// Describes a hashtag's data
type Hashtag struct {
2024-01-30 11:26:41 +00:00
Type string `json:"type"` // Should always be "Hashtag"
Href url.URL `json:"href"` // Url to that hashtag
Name string `json:"name"` // Name of the hashtag, example: "#some-hashtag"
}