arxiv

package
v0.0.0-...-8a4eff6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(str string, cleanFuncs ...CleanFunc) string

func OneLine

func OneLine(str string) string

Types

type CleanFunc

type CleanFunc func(string) string

func CleaningPipe

func CleaningPipe(cleanFuncs ...CleanFunc) CleanFunc

func RemovePrefix

func RemovePrefix(prefix string) CleanFunc

type Importer

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

func NewSearcher

func NewSearcher() *Importer

func (*Importer) Import

func (i *Importer) Import(ctx context.Context, ref string) (imports.Paper, error)

func (*Importer) Search

func (i *Importer) Search(ctx context.Context, q string, limit, offset int) (imports.SearchResults, error)

func (*Importer) Source

func (i *Importer) Source() string

Jump to

Keyboard shortcuts

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