diff options
author | RishabhBhatnagar <bhatnagarrishabh4@gmail.com> | 2020-01-09 20:39:55 +0530 |
---|---|---|
committer | RishabhBhatnagar <bhatnagarrishabh4@gmail.com> | 2020-01-09 21:04:37 +0530 |
commit | cd59ee66408a908f7ef94548814514f6bc9fc906 (patch) | |
tree | 550b146d4de0cc00a4784147f7d8f2a7bc93cffe /examples/4-search | |
parent | f4fef41a45620391fca6481f4700b89de170ab88 (diff) | |
download | spdx-tools-cd59ee66408a908f7ef94548814514f6bc9fc906.tar.gz |
Create Go Module
- Unpack directory v0 to move all the content to the root directory.
- ./v0/* converted to ./*
- all the test cases were fixed to remove one directory less indexing for test files
- add go.mod
- go version 1.13 is used to have a relatively stable versioning system
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
Diffstat (limited to 'examples/4-search')
-rw-r--r-- | examples/4-search/example_search.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/4-search/example_search.go b/examples/4-search/example_search.go index c5d4854..4a983e4 100644 --- a/examples/4-search/example_search.go +++ b/examples/4-search/example_search.go @@ -14,9 +14,9 @@ import ( "fmt" "os" - "github.com/spdx/tools-golang/v0/idsearcher" + "github.com/spdx/tools-golang/idsearcher" - "github.com/spdx/tools-golang/v0/tvsaver" + "github.com/spdx/tools-golang/tvsaver" ) func main() { @@ -52,8 +52,8 @@ func main() { // CreatorType and Creator, from builder.Config2_1, are not needed for // idsearcher.Config. Because it is automated and doesn't assume // further review, the following two Creator fields are filled in: - // Creator: Tool: github.com/spdx/tools-golang/v0/builder - // Creator: Tool: github.com/spdx/tools-golang/v0/idsearcher + // Creator: Tool: github.com/spdx/tools-golang/builder + // Creator: Tool: github.com/spdx/tools-golang/idsearcher // You can define one or more paths that should be ignored // when walking through the directory. This is intended to omit files |