feat:增加测试用例

This commit is contained in:
songzhibin97
2021-09-15 18:42:17 +08:00
parent d80edb16df
commit 0f18854c40
5 changed files with 70 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ func loadPlugin(path string, f fs.FileInfo) error {
fmt.Println("loadPlugin err ", fmt.Sprintf("path:%s 没有实现 %s 接口", filepath.Base(fPath), OnlyFuncName))
return errors.New("没有实现指定接口")
} else {
// todo
}
fmt.Println("loadPlugin add ", filepath.Base(fPath))
ManagementPlugin.SetPlugin(filepath.Base(fPath), p)