Documentation
¶
Overview ¶
Package modelsx implements extensions for the models package.
Index ¶
- func DeletePronoun(ctx context.Context, exec boil.ContextExecutor, sf, prn string) (string, bool, error)
- func GetPronoun(ctx context.Context, exec boil.ContextExecutor, sf, prn string) (*models.Pronoun, error)
- func PronounExists(ctx context.Context, exec boil.ContextExecutor, sf, prn string) (bool, error)
- func Pronouns(ctx context.Context, exec boil.ContextExecutor, sf string) (models.PronounSlice, error)
- type GuildWithPrefixes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePronoun ¶
func GetPronoun ¶
func PronounExists ¶
func Pronouns ¶
func Pronouns(ctx context.Context, exec boil.ContextExecutor, sf string) (models.PronounSlice, error)
Types ¶
type GuildWithPrefixes ¶
type GuildWithPrefixes struct {
ID int64 `boil:"id"`
GuildSnowflake string `boil:"guild_snowflake"`
EmbedTwitterVideos bool `boil:"embed_twitter_videos"`
CreatedAt time.Time `boil:"created_at"`
UpdatedAt time.Time `boil:"updated_at"`
Prefixes types.StringArray `boil:"prefixes"`
}
func GetGuildWithPrefixes ¶
func GetGuildWithPrefixes(ctx context.Context, exec boil.ContextExecutor, guildID string) (*GuildWithPrefixes, error)
func (*GuildWithPrefixes) HasPrefix ¶
func (g *GuildWithPrefixes) HasPrefix(p string) bool
Click to show internal directories.
Click to hide internal directories.