Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit c768bc2

Browse files
committed
docs: add wildcard ignore example
1 parent 9f2b94e commit c768bc2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/Gopkg.toml.md

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ You might also try [virtualgo](https://github.com/GetStream/vg), which installs
3636
ignored = ["github.com/user/project/badpkg"]
3737
```
3838

39+
Use wildcard character (*) to define a package prefix to be ignored. Use this
40+
to ignore any package and their subpackages.
41+
```toml
42+
ignored = ["github.com/user/project/badpkg*"]
43+
```
44+
3945
**Use this for:** preventing a package and any of that package's unique
4046
dependencies from being installed.
4147

0 commit comments

Comments
 (0)