6 Star 44 Fork 25

Hyperledger / fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
validator.go 564 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
common "github.com/hyperledger/fabric-protos-go/common"
mock "github.com/stretchr/testify/mock"
)
// Validator is an autogenerated mock type for the Validator type
type Validator struct {
mock.Mock
}
// Validate provides a mock function with given fields: block
func (_m *Validator) Validate(block *common.Block) error {
ret := _m.Called(block)
var r0 error
if rf, ok := ret.Get(0).(func(*common.Block) error); ok {
r0 = rf(block)
} else {
r0 = ret.Error(0)
}
return r0
}
1
https://gitee.com/hyperledger/fabric.git
git@gitee.com:hyperledger/fabric.git
hyperledger
fabric
fabric
v2.1.1

搜索帮助