itemfix
import "github.com/coralproject/shelf/internal/sponge/item/itemfix"
Overview
Index
Package files
itemfix.go
func Add(context interface{}, db *db.DB, items []item.Item) error
Add inserts items for testing.
func Get() ([]item.Item, error)
Get loads item data based on item.json.
func GetData(filename string) (map[string]interface{}, error)
GetData loads data based from data.json.
func Remove(context interface{}, db *db.DB, pattern string) error
Remove removes items in Mongo that match a given pattern.
Generated by godoc2md