diff --git a/route_info_android.go b/route_info_android.go index 9885915a..059ddaeb 100644 --- a/route_info_android.go +++ b/route_info_android.go @@ -1,3 +1,5 @@ +//go:build android + package sockaddr import ( @@ -5,10 +7,6 @@ import ( "os/exec" ) -type routeInfo struct { - cmds map[string][]string -} - // NewRouteInfo returns a Android-specific implementation of the RouteInfo // interface. func NewRouteInfo() (routeInfo, error) { diff --git a/route_info_default.go b/route_info_default.go index 6df864ba..db0052fa 100644 --- a/route_info_default.go +++ b/route_info_default.go @@ -1,5 +1,5 @@ -//go:build android || nacl || plan9 || js -// +build android nacl plan9 js +//go:build nacl || plan9 || js +// +build nacl plan9 js package sockaddr