Versions in this module Expand all Collapse all v0 v0.0.1 Jun 26, 2021 Changes in this version + var FormatError = fmt.Errorf("identifier in wrong format") + var NetworkError = fmt.Errorf("network error") + var NotFoundError = fmt.Errorf("book not found") + type Authors struct + Name string + URL string + type BookDetails struct + Authors []Authors + Classifications Classifications + Cover Cover + Excerpts []Excerpts + Identifiers Identifiers + Links []Links + NumberOfPages int + PublishDate string + PublishPlaces []PublishPlaces + Publishers []Publishers + Subjects []Subjects + Title string + URL string + Weight string + type Classifications struct + DeweyDecimalClass []string + LcClassifications []string + type Client struct + func (c *Client) GetByISBN(k string) (*BookDetails, error) + func (c *Client) GetByLCCN(k string) (*BookDetails, error) + func (c *Client) GetByOCLC(k string) (*BookDetails, error) + func (c *Client) GetByOLID(k string) (*BookDetails, error) + func (c *Client) GetByRawKey(k string) (*BookDetails, error) + func (c *Client) SetAPIPath(p string) + func (c *Client) SetHTTPClient(h http.Client) + type Cover struct + Large string + Medium string + Small string + type Excerpts struct + Comment string + Text string + type Identifiers struct + Amazon []string + Goodreads []string + Google []string + ISBN10 []string + ISBN13 []string + LCCN []string + LibraryThing []string + OCLC []string + ProjectGutenberg []string + type Links struct + Title string + URL string + type PublishPlaces struct + Name string + type Publishers struct + Name string + type Subjects struct + Name string + URL string