errors.go
func (list *ErrorList) Collect(args ...interface{}) {
	for _, a := range args {
		if err, _ := a.(error); err != nil {
			*list = append(*list, err)
		}
	}
}
func (list *ErrorList) Collect(args ...interface{}) {
	for _, a := range args {
		if err, _ := a.(error); err != nil {
			*list = append(*list, err)
		}
	}
}
func ( list * ErrorList ) Collect ( args ... interface { } ) { for _ , a := range args { if err , _ := a . ( error ) ; err != nil { * list = append ( * list , err ) } } }
// Collect adds any non nil errors in args to the list.
Collect adds any non nil errors in args to the list .