domain

package
v0.0.0-...-bba2118 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Detail

type Detail struct {
	Id        int32  `json:"id"`
	Publisher string `json:"publisher"`
	Language  string `json:"language"`
	Author    string `json:"author"`
	ISBN10    string `json:"ISBN-10"`
	ISBN13    string `json:"ISBN-13"`
	Year      int32  `json:"year"`
	Type      string `json:"type"`
	Pages     int32  `json:"pags"`
}

type DetailRepository

type DetailRepository interface {
	GetByID(ctx context.Context, id int32) (*Detail, error)
}

type DetailUsecase

type DetailUsecase interface {
	GetByID(ctx context.Context, id int32) (*Detail, error)
}

Jump to

Keyboard shortcuts

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