impl

package
v0.0.0-...-ddbe359 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotRepository

type BotRepository struct {
	// contains filtered or unexported fields
}

func NewBotRepository

func NewBotRepository(l *zap.Logger) *BotRepository

func (*BotRepository) AnswerBioQuiz

func (br *BotRepository) AnswerBioQuiz(ctx context.Context, id string) error

func (*BotRepository) CreateBioQuiz

func (br *BotRepository) CreateBioQuiz(ctx context.Context, channelId uuid.UUID, messageId uuid.UUID, answer string) error

func (*BotRepository) GetNotAnsweredBioQuiz

func (br *BotRepository) GetNotAnsweredBioQuiz(ctx context.Context, channelId uuid.UUID) (*model.BioQuiz, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL