Skip to content

docs: install qtc via go install instead of the dropped go get -u#106

Open
c-tonneslan wants to merge 1 commit into
valyala:masterfrom
c-tonneslan:docs/replace-go-get-u-with-go-install
Open

docs: install qtc via go install instead of the dropped go get -u#106
c-tonneslan wants to merge 1 commit into
valyala:masterfrom
c-tonneslan:docs/replace-go-get-u-with-go-install

Conversation

@c-tonneslan
Copy link
Copy Markdown

Closes #94.

`go get -u` no longer installs binaries since Go 1.16. On a modern toolchain the README's instructions silently do nothing and `qtc` never lands on $PATH (that's what tripped up the issue reporter). Switch the package install to plain `go get` and the `qtc` install (and the `go:generate` snippet) to `go install ...@latest`, which is the documented replacement.

go get -u no longer installs binaries since Go 1.16. On a modern
toolchain the README's instructions silently do nothing and qtc
never lands on $PATH, which is what tripped up valyala#94. Switch the
package install to plain go get and the qtc install (and the
go:generate snippet) to go install ...@latest, which is the
documented replacement.

Closes valyala#94.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

qtc binary is not installed by the command suggested by README

1 participant