add common issue

This commit is contained in:
AJ ONeal 2019-06-21 00:47:42 -06:00
parent ef45a8a999
commit 039b465b75
1 changed files with 17 additions and 0 deletions

View File

@ -176,3 +176,20 @@ Shows the most recent commit.
git rev-parse HEAD git rev-parse HEAD
# 0000000000000000000000000000000000000000 # 0000000000000000000000000000000000000000
``` ```
# Errors
### cannot find package "."
```txt
package git.rootprojects.org/root/go-gitver: cannot find package "." in:
/Users/me/go-example/vendor/git.rootprojects.org/root/go-gitver
cmd/example/example.go:1: running "go": exit status 1
```
You forgot to update deps and re-vendor:
```bash
go mod tidy
go mod vendor
```