go-mstdn/ent/tag.go

15 lines
266 B
Go
Raw Normal View History

2023-09-26 09:57:38 +00:00
package ent
import (
"sourcecode.social/reiver/go-opt"
)
2023-09-26 12:27:26 +00:00
// Tag represents a Mastodon API "Tag".
//
2023-09-26 09:57:38 +00:00
// See:
// https://docs.joinmastodon.org/entities/Status/#Tag
type Tag struct {
Name opt.Optional[string] `json:"name"`
URL opt.Optional[string] `json:"url"`
}