go-mstdn/ent/polloption.go

13 lines
259 B
Go
Raw Normal View History

2023-09-26 09:45:44 +00:00
package ent
import (
"github.com/reiver/go-jsonint"
"github.com/reiver/go-opt"
2023-09-26 09:45:44 +00:00
"sourcecode.social/reiver/go-nul"
)
type PollOption struct {
Title opt.Optional[string] `json:"title"`
VotesCount nul.Nullable[jsonint.Int] `json:"votes_count"`
}