aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/macabu/inamedparam/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/macabu/inamedparam/README.md')
-rw-r--r--vendor/github.com/macabu/inamedparam/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/macabu/inamedparam/README.md b/vendor/github.com/macabu/inamedparam/README.md
new file mode 100644
index 000000000..80911c9d7
--- /dev/null
+++ b/vendor/github.com/macabu/inamedparam/README.md
@@ -0,0 +1,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) ./...
+```