Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2020 Changes in this version + type Handler struct + Conn *sql.DB + func InitialDataBase() (*Handler, error) + func (p *Handler) Close() error + func (p *Handler) GetBookById(ctx context.Context, id int64) (*models.Book, error) + func (p *Handler) GetBookByName(ctx context.Context, name string) (*models.Book, error) + func (p *Handler) GetBooksByShelfs(ctx context.Context, id int64) (*models.Shelf, error) + func (p *Handler) GetPageByID(ctx context.Context, id int64) (*models.Page, error) + func (p *Handler) GetShelves(ctx context.Context) (*models.Library, error) Other modules containing this package github.com/MarlikAlmighty/library/v2