Skip to content

Commit 8109bbd

Browse files
authored
docs: add go.17+ install instructions (#1280)
Add go 1.17+ install intructions, `go get` has been deprecated from go 1.17 and onwards as an install method.
1 parent 5caaec1 commit 8109bbd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/overview/install.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ brew install sqlc
1414
sudo snap install sqlc
1515
```
1616

17-
## go install
17+
## go install
18+
19+
### Go >= 1.17:
1820

1921
```
2022
go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
2123
```
2224

25+
### Go < 1.17:
26+
27+
```
28+
go get github.com/kyleconroy/sqlc/cmd/sqlc
29+
```
30+
2331
## Docker
2432

2533
```

0 commit comments

Comments
 (0)