Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoRepoSet = wire.NewSet(ProvideMongoQuestionRepo, wire.Bind(new(QuestionRepo), new(*MongoQuestionRepo)))
Functions ¶
This section is empty.
Types ¶
type MongoQuestionRepo ¶
type MongoQuestionRepo struct {
ClientOptions *options.ClientOptions
}
func ProvideMongoQuestionRepo ¶
func ProvideMongoQuestionRepo(awsService *aws.AWSService) *MongoQuestionRepo
func (*MongoQuestionRepo) GetQuestion ¶
func (repo *MongoQuestionRepo) GetQuestion(id string) *entity.Questions
func (*MongoQuestionRepo) SaveAnswers ¶
func (repo *MongoQuestionRepo) SaveAnswers(answers *entity.Answers) error
func (*MongoQuestionRepo) SaveQuestions ¶
func (repo *MongoQuestionRepo) SaveQuestions(questions *entity.Questions) error
Click to show internal directories.
Click to hide internal directories.