when import "golang.org/x/net/route"
it tells "build constraints exclude all Go files in go/src/golang.org/x/net/routego"
I am using VSCode editor on Windows/Linux
I searched online and didn't see a solution to the similar problem
package main
import (
"golang.org/x/net/route"
)
{
rib, _ := route.FetchRIB(0, route.RIBTypeRoute, 0)
messages, err := route.ParseRIB(route.RIBTypeRoute, rib)
}