Versions in this module Expand all Collapse all v0 v0.3.3 Oct 24, 2024 Changes in this version + type Guild struct + ID string + Timezone *string + func NewGuild(id string) *Guild + type GuildRepository struct + func NewGuildRepository(pool *pgxpool.Pool) *GuildRepository + func (r *GuildRepository) Create(ctx context.Context, guild *Guild) error + func (r *GuildRepository) FindByID(ctx context.Context, id string) (*Guild, error) + func (r *GuildRepository) FindOrCreate(ctx context.Context, id string) (*Guild, error) + func (r *GuildRepository) RemoveMembers(ctx context.Context, guildID string, userID []string) error + func (r *GuildRepository) SetGuildTimezone(ctx context.Context, guildID, timezone string) error