You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Cleanup is a function does cleanup workstypeCleanupfunc()
// Moduler is the interface that wraps the module's method.typeModulerinterface {
// Stringer indicates module's name
fmt.Stringer// Init does initialization works and should return// a cleanup function.Init() Cleanup// Boot boots the module.Boot()
// RegisterRoutes add routes to fiber routerRegisterRoutes(fiber.Router)
}
类似下面这样
https://github.com/go-dawn/dawn/blob/main/moduler.go
https://github.com/go-dawn/dawn/blob/main/sloop.go
The text was updated successfully, but these errors were encountered: