What is the URL of the page with the issue?

https://pkg.go.dev/slatedb.io/slatedb-go

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Screenshot

No response

What did you do?

My package module documentation is not visible at:

https://pkg.go.dev/slatedb.io/slatedb-go

https://slatedb.io/slatedb-go serves:

<!DOCTYPE html><html lang="en"> <head><meta name="go-import" content="slatedb.io/slatedb-go git https://github.com/slatedb/slatedb slatedb-go/go"><meta name="go-source" content="slatedb.io/slatedb-go https://github.com/slatedb/slatedb https://github.com/slatedb/slatedb/tree/main/slatedb-go/go{/dir} https://github.com/slatedb/slatedb/blob/main/slatedb-go/go{/dir}/{file}#L{line}"><title>SlateDB Go module</title><script type="module" src="/_astro/page.7qqag-5g.js"></script></head> <main> <h1>SlateDB Go module</h1> <p>
--
Vanity import path for the Go module. Repository:
<a href="https://github.com/slatedb/slatedb/tree/main/slatedb-go/go">github.com/slatedb/slatedb/slatedb-go/go</a> </p> </main> </html>

Of note are these two meta tags:

<meta name="go-import" content="slatedb.io/slatedb-go git https://github.com/slatedb/slatedb slatedb-go/go">
<meta name="go-source" content="slatedb.io/slatedb-go https://github.com/slatedb/slatedb https://github.com/slatedb/slatedb/tree/main/slatedb-go/go{/dir} https://github.com/slatedb/slatedb/blob/main/slatedb-go/go{/dir}/{file}#L{line}">

The go-import includes the new subdir field from Go 1.25.0. I have tagged https://github.com/slatedb/slatedb with slatedb-go/go/v0.8.0.

This works:

 GOPRIVATE=slatedb.io go get slatedb.io/slatedb-go/@v0.8.0       
go: downloading slatedb.io/slatedb-go v0.8.0
go: added slatedb.io/slatedb-go v0.8.0

This works:

% go get slatedb.io/slatedb-go@v0.8.0
go: downloading slatedb.io/slatedb-go v0.8.0

This does not work:

% GOPROXY=https://proxy.golang.org GO111MODULE=on go get slatedb.io/slatedb-go@v0.8.0
go: slatedb.io/slatedb-go@v0.8.0: reading https://proxy.golang.org/slatedb.io/slatedb-go/@v/v0.8.0.mod: 404 Not Found
    server response: not found: slatedb.io/slatedb-go@v0.8.0: unrecognized import path "slatedb.io/slatedb-go": parse https://slatedb.io

I also tried the web UI to trigger a fetch:

https://pkg.go.dev/slatedb.io/slatedb-go

Doesn't work either.

I think either pkg.go.dev, sum.golang.org, or proxy.golang.org is in some weird state.

What did you see happen?

Just says Oops! We couldn't find “slatedb.io/slatedb-go”.

What did you expect to see?

I expected to click the "request slatedb.io/slatedb-go" button and have it work.

Comment From: gabyhelp

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Comment From: seankhliao

Probably a different go-import parser for proxy vs cmd/go?:

GOPRIVATE=slatedb.io go get -x -v slatedb.io/slatedb-go/@v0.8.0
# get https://slatedb.io/slatedb-go?go-get=1
# get https://slatedb.io/?go-get=1
# get https://slatedb.io/?go-get=1: 200 OK (0.196s)
# get https://slatedb.io/slatedb-go?go-get=1: 200 OK (0.304s)
get "slatedb.io/slatedb-go": found meta tag vcs.metaImport{Prefix:"slatedb.io/slatedb-go", VCS:"git", RepoRoot:"https://github.com/slatedb/slatedb", SubDir:"slatedb-go/go"} at //slatedb.io/slatedb-go?go-get=1

vs

https://proxy.golang.org/slatedb.io/slatedb-go/@v/v0.8.0.info

not found: slatedb.io/slatedb-go@v0.8.0: unrecognized import path "slatedb.io/slatedb-go": parse https://slatedb.io/slatedb-go?go-get=1: no go-import meta tags ()

ref #34055

cc @golang/command-line @golang/tools-team

Comment From: jba

pkgsite certainly uses a different parser, and it has not been updated for subdir. I filed #75258.