aggfix

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

README

aggfix

import "github.com/coralproject/shelf/internal/ask/form/aggfix"

Overview

Index

Package files

aggfix.go

func Add

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

Add inserts forms for testing.

func Get

func Get() (*form.Form, []submission.Submission, error)

Get loads form and submission data based on forms.json.

func Remove

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

Remove removes forms in Mongo that match a given pattern.


Generated by godoc2md

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

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

Add inserts forms for testing.

func Get

func Get() (*form.Form, []submission.Submission, error)

Get loads form and submission data based on forms.json.

func Remove

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

Remove removes forms in Mongo that match a given pattern.

Types

This section is empty.

Jump to

Keyboard shortcuts

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