feat mysql
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
type ModuleBase struct {
|
||||
}
|
||||
|
||||
func (p *ModuleBase) Init() error {
|
||||
func (p *ModuleBase) init() error {
|
||||
// 配置
|
||||
if err := config.LoadConfig(); err != nil {
|
||||
return err
|
||||
@@ -24,10 +24,10 @@ func (p *ModuleBase) Init() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *ModuleBase) Start() error {
|
||||
func (p *ModuleBase) start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *ModuleBase) Stop() error {
|
||||
func (p *ModuleBase) stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user