Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { bun.BaseModel `bun:"base_model,table:groups,alias:group"` ID uuid.UUID `bun:"id,pk,nullzero"` ServerID string `bun:"server_id,nullzero"` ChannelGains string `bun:"channel_gains,nullzero"` ChannelLosses string `bun:"channel_losses,nullzero"` Internals bool `bun:"internals"` Barbarians bool `bun:"barbarians"` ServerKey string `bun:"server_key,nullzero"` VersionCode string `bun:"version_code,nullzero"` LanguageTag string `bun:"language_tag,nullzero"` CreatedAt time.Time `bun:"created_at,nullzero"` Monitors []Monitor `bun:"monitors,rel:has-many,join:id=group_id"` }
func (Group) ToDomain ¶
func (g Group) ToDomain() domain.GroupWithMonitors
Click to show internal directories.
Click to hide internal directories.