Open
Description
What is the URL of the page with the issue?
https://pkg.go.dev/dagger.io/[email protected]#section-sourcefiles
What is your user agent?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0
Screenshot
What did you do?
Clicked on the error.go
file link
What did you expect to see?
It should have led me to: https://github.com/dagger/dagger/blob/sdk/go/v0.4.0/sdk/go/error.go
What did you see instead?
https://github.com/dagger/dagger/tree/main/sdk/go/blob/v0.4.0/error.go
Fix
- https://github.com/dagger/dagger/tree/main/sdk/go/blob/v0.4.0/error.go
+ https://github.com/dagger/dagger/blob/sdk/go/v0.4.0/sdk/go/error.go
Issue
it seems when using a submodule with the correct way of tagging it (with a tag containing its subdirectory location), the pkgsite doesn't concatenate the relative to repository root path of the file, but only relative to its respective go.mod
submodule.