What is the URL of the page with the issue?
https://pkg.go.dev/dagger.io/dagger@v0.3.1#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.
What is the URL of the page with the issue?
https://pkg.go.dev/dagger.io/dagger@v0.3.1#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.gofile linkWhat 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
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.modsubmodule.