Update vendor/

This commit is contained in:
Daniele Rondina
2020-10-10 19:59:40 +02:00
parent 3261b2af98
commit 51f32c0614
1090 changed files with 466498 additions and 1050 deletions

View File

@@ -0,0 +1,15 @@
package copystructure
import (
"reflect"
"time"
)
func init() {
Copiers[reflect.TypeOf(time.Time{})] = timeCopier
}
func timeCopier(v interface{}) (interface{}, error) {
// Just... copy it.
return v.(time.Time), nil
}