core

package
v0.0.0-...-817ee16 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 1 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    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	Cover string `json:"cover,omitempty"`
}

type BookStore

type BookStore interface {
	Create(ctx context.Context, book *Book) error
	Find(ctx context.Context, id string) (*Book, error)
}

Jump to

Keyboard shortcuts

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