a-h / generate

Generates Go (golang) Structs from JSON schema.
MIT License
444 stars 137 forks source link

Go Get is deprecated for installing as of Go 1.17 #88

Open e-loughlin opened 2 years ago

e-loughlin commented 2 years ago

The README.md specifies that Go 1.8+ is required. However, Go Get is deprecated as of Go 1.17, thus it won't work if you're using latest Go.

The installation instructions require the use of go get to install.

Should this be updated?

Source: https://go.dev/doc/go-get-install-deprecation#what-to-use-instead

RobbieMcKinstry commented 1 year ago

My friend, I hate to say this, but I think you've misread Go 1.8+ as 1.18+ :)

e-loughlin commented 1 year ago

You're absolutely right! My mistake.

RobbieMcKinstry commented 1 year ago

@e-loughlin I'd suggest leaving this issue open, because you're right to say the docs are incorrect. Installation via Go Get does not currently work with latest Go, so Go 1.8+ isn't accurate either. :)