Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SuperSet = wire.NewSet(gorm2.GetGorm2Config, gorm2.NewGorm2Repository, gorm2.GetSQLDb, wire.Bind(new(repository.ProjectRepository), new(*gorm2.Repository)), wire.Bind(new(repository.ProjectPageRepository), new(*gorm2.Repository)), wire.Bind(new(repository.PageRepository), new(*gorm2.Repository)), wire.Bind(new(repository.LinePageRepository), new(*gorm2.Repository)), wire.Bind(new(repository.LineRepository), new(*gorm2.Repository)), wire.Bind(new(repository.DialoguePageRepository), new(*gorm2.Repository)), wire.Bind(new(repository.DialogueRepository), new(*gorm2.Repository)), project.NewProjectHandler, page.NewPageHandler, content.NewLineHandler, content.NewDialogueHandler, NewRouter)
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter( db *sql.DB, prj *project.ProjectHandler, page *page.PageHandler, line *content.LineHandler, dial *content.DialogueHandler, ) (*Router, error)
Click to show internal directories.
Click to hide internal directories.