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
I have a library github.com/Noofbiz/go-card/smartcard that is in a repo with no go files in the root (go-card). When I try to import/add this library to another project with go get github.com/Noofbiz/go-card/smartcard it fails to build with an error. I've tried other fixes, such as running `go clean --modcache' but it doesn't help.
What did you see happen?
My results from go get:
$ go get -v github.com/Noofbiz/go-card/smartcard
go: downloading github.com/Noofbiz/go-card v0.0.0-20240314193412-f61d4e0f5cc5
go: module github.com/Noofbiz/go-card@upgrade found (v0.0.0-20240314193412-f61d4e0f5cc5), but does not contain package github.com/Noofbiz/go-card/smartcard
What did you expect to see?
The module to be added and usable.
The text was updated successfully, but these errors were encountered:
seankhliao
changed the title
cmd/get go get fails for nested repo when there are no go files in the root directory
cmd/go: go get fails for nested repo when there are no go files in the root directory
Mar 15, 2024
Go version
go1.22.1 linux/am64
Output of
go env
in your module/workspace:What did you do?
I have a library
github.com/Noofbiz/go-card/smartcard
that is in a repo with no go files in the root (go-card). When I try to import/add this library to another project withgo get github.com/Noofbiz/go-card/smartcard
it fails to build with an error. I've tried other fixes, such as running `go clean --modcache' but it doesn't help.What did you see happen?
My results from go get:
What did you expect to see?
The module to be added and usable.
The text was updated successfully, but these errors were encountered: