You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, this package https://godoc.org/github.com/go101/tinyrouter specified its import path in go.mod as go101.org/tinyrouter instead of its hosing path. Now the doc page only show an import path as the hosting path at the beginning of the path. I think it should also list the import path which is specified in go.mod.
The text was updated successfully, but these errors were encountered:
It would be better if the doc page can suggest a replace line for package users
if the godoc program finds that the hosting path and the module path specified
in the go.mod file are not consistent. For example:
Please add the following line in your go.mod file to use this package
if your project supports modules:
replace go101.org/tinyrouter => github.com/go101/tinyrouter v1.0.1
For example, this package https://godoc.org/github.com/go101/tinyrouter specified its import path in
go.mod
asgo101.org/tinyrouter
instead of its hosing path. Now the doc page only show an import path as the hosting path at the beginning of the path. I think it should also list the import path which is specified ingo.mod
.The text was updated successfully, but these errors were encountered: