service.go 259 B

12345678910111213141516
  1. package service
  2. import "git.sxidc.com/go-framework/baize/framework/core/application"
  3. const (
  4. dbSchema = "test"
  5. )
  6. type Service interface {
  7. Init(appInstance *application.App) error
  8. Destroy() error
  9. }
  10. var RegisteredServices = []Service{
  11. versionService,
  12. }