Hit:
could not import github.com/prometheus-community/pro-bing (no required module provides package "github.com/prometheus-community/pro-bing")compilerBrokenImport
go.mod:
Go version: go 1.17
require(
....
github.com/prometheus-community/pro-bing v0.1.0 // indirect
....
)
import( probing "github.com/prometheus-community/pro-bing" )
Hit: could not import github.com/prometheus-community/pro-bing (no required module provides package "github.com/prometheus-community/pro-bing")compilerBrokenImport
go.mod: Go version: go 1.17 require( .... github.com/prometheus-community/pro-bing v0.1.0 // indirect .... )
I don't know why but anything is fine.