isbn

package
v0.0.0-...-64c3d02 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPdfISBN

func FindPdfISBN(path string, numpages int) (string, error)

Types

type Provider

type Provider interface {
	Fetch(ctx context.Context, isbn string) ProviderInfo
}

type ProviderGoogleBooks

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

func NewProviderGoogleBooks

func NewProviderGoogleBooks(httpclient *http.Client) *ProviderGoogleBooks

func (*ProviderGoogleBooks) Fetch

type ProviderInfo

type ProviderInfo struct {
	Title         string
	YearOfPublish int
	Authors       []string
}

Jump to

Keyboard shortcuts

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