From d8c80dbf7611cba5109092e417feb770e0269ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B3pez?= Date: Wed, 10 Nov 2021 11:17:48 +0100 Subject: [PATCH] docs: add go.17+ install instructions Add go 1.17+ install intructions, `go get` has been deprecated from go 1.17 and onwards as an install method. --- docs/overview/install.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/overview/install.md b/docs/overview/install.md index 6d8fd10607..133da7073c 100644 --- a/docs/overview/install.md +++ b/docs/overview/install.md @@ -14,12 +14,20 @@ brew install sqlc sudo snap install sqlc ``` -## go install +## go install + +### Go >= 1.17: ``` go install github.com/kyleconroy/sqlc/cmd/sqlc@latest ``` +### Go < 1.17: + +``` +go get github.com/kyleconroy/sqlc/cmd/sqlc +``` + ## Docker ```