top
(README.md)
# rfix
    import "github.com/coralproject/xenia/pkg/regex/rfix"






## func Add
``` go
func Add(db *db.DB, rgx regex.Regex) error
```
Add inserts a regex for testing.


## func Get
``` go
func Get(fileName string) (regex.Regex, error)
```
Get retrieves a regex document from the filesystem for testing.


## func Remove
``` go
func Remove(db *db.DB, pattern string) error
```
Remove is used to clear out all the test regexs from the collection.
All test documents must start with QSTEST in their name.









- - -
Generated by [godoc2md](http://godoc.org/github.com/davecheney/godoc2md)

Imports 5 package(s) ΒΆ

  1. gopkg.in/mgo.v2
  2. gopkg.in/mgo.v2/bson
  3. github.com/coralproject/xenia/pkg/regex
  4. github.com/ardanlabs/kit/db
  5. github.com/ardanlabs/kit/tests