10 lines
270 B
Go
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"
|
|
}
|