subject

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSubjectNotFound = errors.New("can't find subject")

Functions

This section is empty.

Types

type MysqlRepo

type MysqlRepo struct {
	// contains filtered or unexported fields
}

func New

func New(q *query.Query, log *zap.Logger) (MysqlRepo, error)

func (MysqlRepo) Get

func (r MysqlRepo) Get(ctx context.Context, id uint32) (model.Subject, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL