Documentation ¶
Index ¶
- func GetAnswers(ctx context.Context, database *mongo.Database, templateId string) []models.Answer
- func GetDefaultTemplates(ctx context.Context, database *mongo.Database) []models.Template
- func GetMyTemplates(ctx context.Context, database *mongo.Database, username string) []models.Template
- func GetTemplate(ctx context.Context, database *mongo.Database, id string) models.Template
- func Initialize(ctx context.Context) (*mongo.Client, error)
- func Seed(ctx context.Context, database *mongo.Database)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnswers ¶
func GetDefaultTemplates ¶
func GetMyTemplates ¶
func GetTemplate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.