mfix

package
v0.4.4 Latest Latest
Warning

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

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

README

mfix

import "github.com/coralproject/shelf/internal/xenia/mask/mfix"

Overview

Index

Package files

mfix.go

func Add

func Add(db *db.DB, msk mask.Mask) error

Add inserts a mask for testing.

func Get

func Get(fileName string) ([]mask.Mask, error)

Get retrieves a slice of mask documents from the filesystem for testing.

func Remove

func Remove(db *db.DB, collection string) error

Remove is used to clear out all the test masks from the collection.


Generated by godoc2md

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(db *db.DB, msk mask.Mask) error

Add inserts a mask for testing.

func Get

func Get(fileName string) ([]mask.Mask, error)

Get retrieves a slice of mask documents from the filesystem for testing.

func Remove

func Remove(db *db.DB, collection string) error

Remove is used to clear out all the test masks from the collection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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