booklist

package
v0.0.0-...-09f00c6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	Author   string
	Title    string
	Filename string
}

Book exported

type Service

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

Service is exported

func NewService

func NewService(dataDirectory string) (*Service, error)

NewService is exported

func (*Service) GetByAuthor

func (s *Service) GetByAuthor(authorName string) []*Book

GetByAuthor returns all the books by the given author.

Jump to

Keyboard shortcuts

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