Skip to content

Commit

Permalink
fix vendored packages
Browse files Browse the repository at this point in the history
Dominic reported an issue when running go get on v3.

```
go get -u gopkg.in/segmentio/analytics-go.v3
package gopkg.in/segmentio/analytics-go.v3/vendor/github.com/segmentio/backo-go: gopkg.in/segmentio/analytics-go.v3 is a custom import path for https://gopkg.in/segmentio/analytics-go.v3, but /home/dominic/dev/src/gopkg.in/segmentio/analytics-go.v3/vendor/github.com/segmentio/backo-go is checked out from https://github.com/segmentio/backo-go
package gopkg.in/segmentio/analytics-go.v3/vendor/github.com/xtgo/uuid: gopkg.in/segmentio/analytics-go.v3 is a custom import path for https://gopkg.in/segmentio/analytics-go.v3, but /home/dominic/dev/src/gopkg.in/segmentio/analytics-go.v3/vendor/github.com/xtgo/uuid is checked out from https://github.com/xtgo/uuid
```

Nick pointed out that we are vendoring backo-go and uuid as submodules. This simply copies them as folders (I used dep to to pull in the actual code).
  • Loading branch information
f2prateek committed Sep 27, 2018
1 parent c541109 commit fa1abe0
Show file tree
Hide file tree
Showing 8 changed files with 402 additions and 2 deletions.
1 change: 0 additions & 1 deletion vendor/github.com/segmentio/backo-go
Submodule backo-go deleted from ed3adc
3 changes: 3 additions & 0 deletions vendor/github.com/segmentio/backo-go/.gitmodules

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 80 additions & 0 deletions vendor/github.com/segmentio/backo-go/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 83 additions & 0 deletions vendor/github.com/segmentio/backo-go/backo.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion vendor/github.com/xtgo/uuid
Submodule uuid deleted from a0b114
5 changes: 5 additions & 0 deletions vendor/github.com/xtgo/uuid/AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions vendor/github.com/xtgo/uuid/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fa1abe0

Please sign in to comment.