pgschema icon indicating copy to clipboard operation
pgschema copied to clipboard

Fail to install when using `go get -tool`

Open vmsp opened this issue 1 year ago • 2 comments

Hey. I just tried to install for use with the go tool command and it failed:

$ go get -tool github.com/pgschema/pgschema@latest
go: downloading github.com/pgschema/pgschema v1.3.0
go: downloading github.com/pgschema/pgschema/ir v0.0.0
go: github.com/pgschema/pgschema imports
	github.com/pgschema/pgschema/cmd imports
	github.com/pgschema/pgschema/cmd/apply imports
	github.com/pgschema/pgschema/ir: reading github.com/pgschema/pgschema/ir/go.mod at revision ir/v0.0.0: unknown revision ir/v0.0.0

Ref: https://go.dev/doc/go1.24#tools

Thanks!

vmsp avatar Oct 29 '25 17:10 vmsp

I've had this. Installing from @main works.

marcintustin avatar Oct 30 '25 18:10 marcintustin

Fixed in 1.4.1

tianzhou avatar Nov 01 '25 10:11 tianzhou