initial commits

master
Charles Iliya Krempeaux 2023-09-26 18:57:38 +09:00
parent d9d479324d
commit 2b3e477465
1 changed files with 12 additions and 0 deletions

12
ent/tag.go 100644
View File

@ -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"`
}