package
0.0.0-20211008083621-3438cf80670b
Repository: https://github.com/code-hex/xo.git
Documentation: pkg.go.dev
# Functions
AuthorBookResultsByTags runs a custom query, returning results as AuthorBookResult.
AuthorByAuthorID retrieves a row from 'booktest.authors' as a Author.
AuthorsByName retrieves a row from 'booktest.authors' as a Author.
BookByBookID retrieves a row from 'booktest.books' as a Book.
BookByIsbn retrieves a row from 'booktest.books' as a Book.
BooksByTitleYear retrieves a row from 'booktest.books' as a Book.
# Variables
XOLog provides the log func used by generated queries.
# Structs
Author represents a row from 'booktest.authors'.
AuthorBookResult is the result of a search.
Book represents a row from 'booktest.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 'booktest'.