build: upgrade to go 1.17 and dependencies

This commit is contained in:
cyrilix committed 2021-09-01 20:53:50 +02:00
1 parent 44faf5fa5d
commit b6f9ca4f3f
116 files changed
+10159 -1933

No files matched your search

+2
View File
@@ -42,6 +42,8 @@ func formatListOpt(vs list, isRoot, allowMulti bool) string {
name = "FileImports"
case pref.Descriptor:
name = reflect.ValueOf(vs).MethodByName("Get").Type().Out(0).Name() + "s"
default:
name = reflect.ValueOf(vs).Elem().Type().Name()
}
start, end = name+"{", "}"
}