client

package
v0.0.0-...-2fed6f8 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	ID         string `json:"id"`
	VolumeInfo struct {
		Title         string   `json:"title"`
		Authors       []string `json:"authors"`
		PublishedDate string   `json:"publishedDate"`
	} `json:"volumeInfo"`
}

func SearchByAuthor

func SearchByAuthor(name string) (int, []Item, error)

func SearchByISBN

func SearchByISBN(isbn string) (int, []Item, error)

func SearchByTitle

func SearchByTitle(title string) (int, []Item, error)

type Results

type Results struct {
	Total int `json:"totalItems"`
	Items []Item
}

Jump to

Keyboard shortcuts

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