acmdl

package
v0.0.0-...-931cd26 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	Words []string
	Year  int
	Start int
}

func NewQuery

func NewQuery() *Query

func (*Query) AddWord

func (q *Query) AddWord(word string)

func (*Query) Encode

func (q *Query) Encode() string

type Request

type Request struct {
	Q *Query
}

func NewRequest

func NewRequest() *Request

func (*Request) Send

func (r *Request) Send() ([]Result, error)

type Result

type Result struct {
	Title    string
	Abstract string
	Keywords string
	Url      string
}

func ParseResponse

func ParseResponse(resp *http.Response) ([]Result, error)

type WordType

type WordType string

Jump to

Keyboard shortcuts

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