Skip to content

Commit 0cfb0c1

Browse files
committed
modify README: add installation in Go version >= 1.16
1 parent 4493993 commit 0cfb0c1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Inspired by [tokei](https://github.com/Aaronepower/tokei).
1212
## Installation
1313

1414
```
15+
# Go version >= 1.16
16+
$ go install github.com/hhatto/gocloc/cmd/gocloc
17+
18+
# Go version < 1.16
1519
$ go get -u github.com/hhatto/gocloc/cmd/gocloc
1620
```
1721

0 commit comments

Comments
 (0)