books

package
v0.0.0-...-92d14cd Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 4 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 {
	Id    uint   `json:"id"`
	Title string `json:"title"`
}

type Service

type Service interface {
	GetBook(ctx context.Context, id string) (*Book, error)
}

func NewService

func NewService(db storage.Transactor) Service

Jump to

Keyboard shortcuts

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