danielgtaylor / openapi-cli-generator

Generate a CLI from an OpenAPI 3 specification
MIT License
179 stars 49 forks source link

go get: installing executables with 'go get' in module mode is deprecated. #45

Open iShift opened 2 years ago

iShift commented 2 years ago

go get -u github.com/danielgtaylor/openapi-cli-generator
go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

iShift commented 2 years ago

How i can fix it?

yamakov03 commented 1 year ago

Instead of using get, run go install github.com/danielgtaylor/openapi-cli-generator@latest to install the package.