research

package
v0.0.0-...-3de62b2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Logger used to log output
	Logger = log.New(os.Stdout, "research: ",
		log.Ldate|log.Ltime|log.Lshortfile)
)

Functions

This section is empty.

Types

type Research

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

Research container for all search relative variables initiated inside InitReseach(...)

func InitReseach

func InitReseach() Research

InitReseach return an initialised Research struct

func (Research) SearchConsumable

func (r Research) SearchConsumable(query string) ([]int64, error)

SearchConsumable search a consumable in the seach database

func (Research) StoreConsumable

func (r Research) StoreConsumable(c structures.Consumable) error

StoreConsumable stores a consumable in the seach database for later search

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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