baguwen

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitQuestionDAO

func InitQuestionDAO(db *egorm.Component) dao.QuestionDAO

func InitQuestionSetDAO

func InitQuestionSetDAO(db *egorm.Component) dao.QuestionSetDAO

func InitTableOnce

func InitTableOnce(db *gorm.DB)

Types

type Handler

type Handler = web.Handler

type Module added in v0.0.2

type Module struct {
	Svc   Service
	Hdl   *Handler
	QsHdl *QuestionSetHandler
}

func InitModule added in v0.0.2

func InitModule(db *gorm.DB, ec ecache.Cache) (*Module, error)

type Question added in v0.0.2

type Question = domain.Question

type QuestionSetHandler

type QuestionSetHandler = web.QuestionSetHandler

type Service added in v0.0.2

type Service = service.Service

Directories

Path Synopsis
internal
web
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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