-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b9f871
commit 0ec738c
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,17 +40,15 @@ Fancy State Machine explaining the rules above: | |
|
||
* Using `go` (< 11.1): `go install github.com/MarioCarrion/nit/cmd/nit` **or** download a precompiled release. | ||
* Using `go` (>= 1.11): `GO111MODULE=on go get github.com/MarioCarrion/nit/cmd/[email protected]`, for installing v0.6.0 for example; see the releases for other versions. | ||
* Using it as a depency with the [`tools.go` paradigm](https://github.com/go-modules-by-example/index/blob/master/010_tools/README.md): | ||
* Using it as a dependency with the [`tools.go` paradigm](https://github.com/go-modules-by-example/index/blob/master/010_tools/README.md): | ||
|
||
```go | ||
// +build tools | ||
|
||
// tools.go content | ||
|
||
package tools | ||
|
||
import ( | ||
_ "github.com/go-swagger/go-swagger/cmd/swagger" | ||
_ "github.com/MarioCarrion/nit/cmd/nit" | ||
) | ||
``` | ||
|
||
|