rfix

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

rfix

import "github.com/coralproject/shelf/internal/xenia/regex/rfix"

Overview

Index

Package files

rfix.go

func Add

func Add(db *db.DB, rgx regex.Regex) error

Add inserts a regex for testing.

func Get

func Get(fileName string) (regex.Regex, error)

Get retrieves a regex document from the filesystem for testing.

func Remove

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(db *db.DB, rgx regex.Regex) error

Add inserts a regex for testing.

func Get

func Get(fileName string) (regex.Regex, error)

Get retrieves a regex document from the filesystem for testing.

func Remove

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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