go-mstdn/ent/tag.go

13 lines
223 B
Go
Raw Normal View History

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