search

package
v0.0.0-...-adf365b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAsKnownURL

func RegisterAsKnownURL(name, urlRegex string)

RegisterAsKnownURL appends to KnownURLs

Types

type GormSearchRepository

type GormSearchRepository struct {
	// contains filtered or unexported fields
}

GormSearchRepository provides a Gorm based repository

func NewGormSearchRepository

func NewGormSearchRepository(db *gorm.DB) *GormSearchRepository

NewGormSearchRepository creates a new search repository

func (*GormSearchRepository) SearchFullText

func (r *GormSearchRepository) SearchFullText(ctx context.Context, rawSearchString string, start *int, limit *int) ([]*app.WorkItem, uint64, error)

SearchFullText Search returns work items for the given query

type KnownURL

type KnownURL struct {
	// contains filtered or unexported fields
}

KnownURL has a regex string format URL and compiled regex for the same

Jump to

Keyboard shortcuts

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