summaryrefslogtreecommitdiff
path: root/cmd/packagesfuncs.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/packagesfuncs.go')
-rw-r--r--cmd/packagesfuncs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/packagesfuncs.go b/cmd/packagesfuncs.go
index ca15ea3..3aed0e8 100644
--- a/cmd/packagesfuncs.go
+++ b/cmd/packagesfuncs.go
@@ -194,7 +194,7 @@ func getModules() (standard, nonstandard, unknown []moduleInfo, err error) {
// can use reflection but we need a non-pointer value (I'm
// not sure why), and since New() should return a pointer
// value, we need to dereference it first
- iface := interface{}(modInfo.New())
+ iface := any(modInfo.New())
if rv := reflect.ValueOf(iface); rv.Kind() == reflect.Ptr {
iface = reflect.New(reflect.TypeOf(iface).Elem()).Elem().Interface()
}