fonchain-artistinfo/pb/artistinfoStatement/statement.validator.pb.go
2023-03-22 16:16:16 +08:00

34 lines
811 B
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: statement.proto
package statement
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
func (this *Contracts) Validate() error {
return nil
}
func (this *StatementListRequest) Validate() error {
return nil
}
func (this *StatementListRespond) Validate() error {
for _, item := range this.Data {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Data", err)
}
}
}
return nil
}