application

package
v0.0.0-...-37076da Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	Query() Query
	Command() Command
}

func New

func New(opts ...Option) Application

type Command

type Command interface{}

type Option

type Option func(*app) error

func WithCommand

func WithCommand(c Command) Option

func WithQuery

func WithQuery(q Query) Option

type Query

type Query interface {
	GetStudents() student.GetStudents
}

func NewQuery

func NewQuery(db database.Database) Query

Jump to

Keyboard shortcuts

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