Skip to content

Commit 813ba7d

Browse files
authoredSep 12, 2021
Update index.mdx (#2230)
1 parent 8c60147 commit 813ba7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎docs/src/docs/usage/install/index.mdx

+5-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ Note: such `go get` installation aren't guaranteed to work. We recommend using b
106106
<div style="margin-top: 2em;">
107107

108108
```sh
109-
go get github.com/golangci/golangci-lint/cmd/golangci-lint@{.LatestVersion}
109+
# Go 1.16+
110+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@{.LatestVersion}
111+
112+
# Go version < 1.16
113+
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@{.LatestVersion}
110114
```
111115

112116
</div>

0 commit comments

Comments
 (0)