1 Star 0 Fork 0

BUPT-ZKJC / fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
command_registrar.go 821 Bytes
一键复制 编辑 原始数据 按行查看 历史
MJL 提交于 2021-08-06 18:37 . first commit
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import common "gitee.com/bupt-zkjc/fabric/cmd/common"
import kingpin "gopkg.in/alecthomas/kingpin.v2"
import mock "github.com/stretchr/testify/mock"
// CommandRegistrar is an autogenerated mock type for the CommandRegistrar type
type CommandRegistrar struct {
mock.Mock
}
// Command provides a mock function with given fields: name, help, onCommand
func (_m *CommandRegistrar) Command(name string, help string, onCommand common.CLICommand) *kingpin.CmdClause {
ret := _m.Called(name, help, onCommand)
var r0 *kingpin.CmdClause
if rf, ok := ret.Get(0).(func(string, string, common.CLICommand) *kingpin.CmdClause); ok {
r0 = rf(name, help, onCommand)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*kingpin.CmdClause)
}
}
return r0
}
1
https://gitee.com/bupt-zkjc/fabric.git
git@gitee.com:bupt-zkjc/fabric.git
bupt-zkjc
fabric
fabric
98d302355562

搜索帮助