simplesearch

package
v0.0.0-...-cbaa3f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToIndex

func AddToIndex(db *gorp.DbMap, keys []string, itemtype string, itemid int64) error

Types

type SearchIndex

type SearchIndex struct {
	Type   string
	ItemId int64
	Weight int64
	Keys   string
}
func Search(db *gorp.DbMap, q, itemtype string, offset,
	limit int64) ([]SearchIndex, error)

Jump to

Keyboard shortcuts

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