package
1.5.3
Repository: https://github.com/jlightning/xo.git
Documentation: pkg.go.dev

# Functions

AuthorBookResultsByTags runs a custom query, returning results as AuthorBookResult.
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.
BooksByTitle retrieves a row from 'public.books' as a Book.
BooksByTitleYear retrieves a row from 'public.books' as a Book.
SayHello calls the stored procedure 'public.say_hello(text) text' on db.

# Constants

BookTypeFiction is the 'FICTION' BookType.
BookTypeNonfiction is the 'NONFICTION' BookType.

# Variables

XOLog provides the log func used by generated queries.

# Structs

Author represents a row from 'public.authors'.
AuthorBookResult is the result of a search.
Book represents a row from 'public.books'.

# 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.