Skip to content

Commit

Permalink
Merge pull request #8 from twitchtv/clarify-vendor
Browse files Browse the repository at this point in the history
Update doc about adding the vendor path
  • Loading branch information
kollektiv authored Mar 4, 2020
2 parents 767e652 + b9df87d commit 758a525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ go get github.com/twitchtv/circuitgen
circuitgen --pkg <package path> --name <type name> --out <output path> [--alias <alias>] [--circuit-major-version <circuit major version>]
```

Add `./vendor/` to package path if the dependency is vendored.
Add `./vendor/` to package path if the dependency is vendored; when using Go modules this is unnecessary.

Set the `circuit-major-version` flag if using Go modules and major version 3 or later. This makes the wrappers import the same version as the rest of your code.

Expand Down

0 comments on commit 758a525

Please sign in to comment.