qfix

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

qfix

import "github.com/coralproject/shelf/internal/xenia/query/qfix"

Overview

Index

Package files

qfix.go

func Add

func Add(db *db.DB, set *query.Set) error

Add inserts a set for testing.

func Get

func Get(fileName string) (*query.Set, error)

Get retrieves a set 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 sets 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, set *query.Set) error

Add inserts a set for testing.

func Get

func Get(fileName string) (*query.Set, error)

Get retrieves a set 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 sets 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