package
0.0.0-20220531064113-fd081a28dc64
Repository: https://github.com/go-jakarta/slides.git
Documentation: pkg.go.dev
# Functions
AuthorByAuthorID retrieves a row from 'public.authors' as a Author.
AuthorsByName retrieves a row from 'public.authors' as a Author.
BookByBookID retrieves a row from 'public.books' as a Book.
BookByIsbn retrieves a row from 'public.books' as a Book.
BooksByTitleYear retrieves a row from 'public.books' as a Book.
# Constants
BookTypeFiction is the 'FICTION' BookType.
BookTypeNonfiction is the 'NONFICTION' BookType.
# Variables
XOLog provides the log func used by generated queries.
# Interfaces
ScannerValuer is the common interface for types that implement both the database/sql.Scanner and sql/driver.Valuer interfaces.
XODB is the common interface for database operations that can be used with types from schema 'public'.
# Type aliases
BookType is the 'book_type' enum type from schema 'public'.
Slice is a slice of ScannerValuers.
StringSlice is a slice of strings.