Ai
1 Star 0 Fork 0

peter/fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
capability_provider.go 736 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import channelconfig "github.com/hyperledger/fabric/common/channelconfig"
import mock "github.com/stretchr/testify/mock"
// CapabilityProvider is an autogenerated mock type for the CapabilityProvider type
type CapabilityProvider struct {
mock.Mock
}
// Capabilities provides a mock function with given fields:
func (_m *CapabilityProvider) Capabilities() channelconfig.ApplicationCapabilities {
ret := _m.Called()
var r0 channelconfig.ApplicationCapabilities
if rf, ok := ret.Get(0).(func() channelconfig.ApplicationCapabilities); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(channelconfig.ApplicationCapabilities)
}
}
return r0
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peter_code_git/fabric.git
git@gitee.com:peter_code_git/fabric.git
peter_code_git
fabric
fabric
v2.1.1

搜索帮助