aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/macabu/inamedparam/README.md
blob: 80911c9d7a4fdc67776e1845a43dc944d9f62736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# inamedparam

A linter that reports interfaces with unnamed method parameters.

## Usage 

### Standalone
You can also run it standalone through `go vet`.  

You must install the binary to your `$GOBIN` folder like so:
```sh
$ go install github.com/macabu/inamedparam/cmd/inamedparam
```

And then navigate to your Go project's root folder, where can run `go vet` in the following way:
```sh
$ go vet -vettool=$(which inamedparam) ./...
```