dip/vendor/github.com/oschwald/maxminddb-golang/set_zero_pre120.go
Paul Lecuq 5b0f744a75
All checks were successful
continuous-integration/drone/push Build is passing
added cache feature on #memcached
2023-08-13 08:42:44 +02:00

11 lines
147 B
Go

//go:build !go1.20
// +build !go1.20
package maxminddb
import "reflect"
func reflectSetZero(v reflect.Value) {
v.Set(reflect.Zero(v.Type()))
}