linstrom/ap/tag.go
2024-01-31 16:56:07 +00:00

10 lines
270 B
Go

package ap
import "net/url"
// Describes a hashtag's data
type Hashtag struct {
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"
}