Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Sep 2, 2019
1 parent 7fe2158 commit a79a466
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ Inspired by [tokei](https://github.com/Aaronepower/tokei).
$ go get -u github.com/hhatto/gocloc/cmd/gocloc
```

### installation problem
```
$ go get -u github.com/hhatto/gocloc/cmd/gocloc
package github.com/src-d/enry: code in directory /PATH/TO/go/src/github.com/src-d/enry expects import "github.com/src-d/enry/v2"
```

with `GO111MODULE=on`
```
(posix shell)$ GO111MODULE=on go get -u github.com/hhatto/gocloc/cmd/gocloc
(fish) $ env GO111MODULE=on go get -u github.com/hhatto/gocloc/cmd/gocloc
```

## Usage

### Basic Usage
Expand Down

0 comments on commit a79a466

Please sign in to comment.