Skip to content

Commit 8e29add

Browse files
authored
Correct go install instructions (#3309)
Go 1.21+ is required for recent versions of sqlc. This is because it uses components that require the 1.21 toolchain. Coincidentally 1.21 is also when forward compatibility was introduced.
1 parent bb2c1c6 commit 8e29add

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docs/overview/install.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,14 @@ brew install sqlc
1414
sudo snap install sqlc
1515
```
1616

17-
## go install
17+
## go install
1818

19-
### Go >= 1.17:
19+
Installing recent versions of sqlc requires Go 1.21+.
2020

2121
```
2222
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
2323
```
2424

25-
### Go < 1.17:
26-
27-
```
28-
go get github.com/sqlc-dev/sqlc/cmd/sqlc
29-
```
30-
3125
## Docker
3226

3327
```

0 commit comments

Comments
 (0)