diff --git a/ent/tag.go b/ent/tag.go new file mode 100644 index 0000000..c023fed --- /dev/null +++ b/ent/tag.go @@ -0,0 +1,12 @@ +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"` +}