package
0.4.8
Repository: https://github.com/coralproject/shelf.git
Documentation: pkg.go.dev

# README

submissionfix

import "github.com/coralproject/shelf/internal/ask/form/submission/submissionfix"

Overview

Index

Package files

submissionfix.go

func Add

func Add(context interface{}, db *db.DB, subs []submission.Submission) error

Add inserts submissions to the DB for testing.

func GetMany

func GetMany(fileName string) ([]submission.Submission, error)

GetMany retrieves a submission document from the filesystem for testing.

func Remove

func Remove(context interface{}, db *db.DB, prefix string) error

Remove removes forms in Mongo that match a given pattern.


Generated by godoc2md

# Functions

Add inserts submissions to the DB for testing.
GetMany retrieves a submission document from the filesystem for testing.
Remove removes forms in Mongo that match a given pattern.