Add var timeDurationType

pull/642/head
Elias Rodrigues 4 years ago
parent 94470e68f3
commit 0c71d5cc08
  1. 1
      validator_instance.go

@ -42,6 +42,7 @@ const (
var ( var (
timeType = reflect.TypeOf(time.Time{}) timeType = reflect.TypeOf(time.Time{})
timeDurationType = reflect.TypeOf(time.Duration(0))
defaultCField = &cField{namesEqual: true} defaultCField = &cField{namesEqual: true}
) )

Loading…
Cancel
Save