package
0.1.10
Repository: https://github.com/studiously/classsvc.git
Documentation: pkg.go.dev

# Functions

ClassByID retrieves a row from 'public.classes' as a Class.
MemberByUserIDClassID retrieves a row from 'public.members' as a Member.
MembersByClassID retrieves a row from 'public.members' as a Member.
MembersByUserID retrieves a row from 'public.members' as a Member.

# Constants

UserRoleStudent is the 'student' UserRole.
UserRoleTeacher is the 'teacher' UserRole.

# Variables

XOLog provides the log func used by generated queries.

# Structs

Class represents a row from 'public.classes'.
Member represents a row from 'public.members'.

# 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

Slice is a slice of ScannerValuers.
StringSlice is a slice of strings.
UserRole is the 'user_role' enum type from schema 'public'.