Use gogoproto's nullable=false (#166)

* Use gogoproto's nullable=false where appropriate.
This commit is contained in:
Jae Kwon
2017-12-22 19:41:19 -08:00
committed by GitHub
parent e4b9f1abe7
commit aaaacba1cd
8 changed files with 174 additions and 173 deletions

View File

@ -11,7 +11,7 @@ import (
//------------------------------------------------------------------------------
// Validators is a list of validators that implements the Sort interface
type Validators []*Validator
type Validators []Validator
func (v Validators) Len() int {
return len(v)