initial commits

master
Charles Iliya Krempeaux 2023-09-26 19:00:48 +09:00
parent 2b3e477465
commit abc42310fe
1 changed files with 14 additions and 0 deletions

14
ent/mention.go 100644
View File

@ -0,0 +1,14 @@
package ent
import (
"sourcecode.social/reiver/go-opt"
)
// See:
// https://docs.joinmastodon.org/entities/Status/#Mention
type Mention struct {
ID opt.Optional[string] `json:"id"`
UserName opt.Optional[string] `json:"username"`
URL opt.Optional[string] `json:"url"`
Acct opt.Optional[string] `json:"acct"`
}