GoDoc.org shows out of date package github:temporalio/temporal-go-sdk
flossypurse opened this issue · 3 comments
What is the URL of the page with the issue?
https://godoc.org/github.com/temporalio/temporal-go-sdk
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
Screenshot
What did you do?
Searched for "temporal go sdk"
What did you expect to see?
The up-to-date package github.com:temporalio/go-sdk
The up-to-date package is available via pkg.go.dev: https://pkg.go.dev/go.temporal.io/sdk
What did you see instead?
This package no longer exists (github.com:temporalio/temporal-go-sdk)
We don't want the old out-of-date package to be published.
The repository at https://github.com/temporalio/temporal-go-sdk exists.
The problem here is that godoc.org is not module aware, so it doesn't know to read the go.mod file, where it's stated that the canonical import path is go.temporal.io/sdk
rather than github.com/temporalio/temporal-go-sdk
.
/cc @julieqiu
OK, so how do we "fix" that?
There's nothing you need to do, this was fixed by making a module-aware package documentation available at pkg.go.dev, where as you said this works. Considering https://blog.golang.org/godoc.org-redirect, I don't think there's anything more to do here.