repository

package
v0.0.0-...-bee458a Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBookNotFound = errors.New("Book not found")

Functions

This section is empty.

Types

type BookRepository

type BookRepository interface {
	Get(id int) (*entity.Book, error)
	Search(keyword string) ([]*entity.Book, error)
}

Jump to

Keyboard shortcuts

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