We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72fc96 commit 90bf772Copy full SHA for 90bf772
internal/locality/regional/ids.go
@@ -25,7 +25,7 @@ func (z ID) String() string {
25
return fmt.Sprintf("%s/%s", z.Region, z.ID)
26
}
27
28
-func ExpandID(id interface{}) ID {
+func ExpandID(id any) ID {
29
regionalID := ID{}
30
tab := strings.Split(id.(string), "/")
31
internal/locality/zonal/ids.go
return fmt.Sprintf("%s/%s", z.Zone, z.ID)
zonedID := ID{}
0 commit comments