You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
After importing go-git into my project, I can no longer build successfully. I get the following error:
➜ go build
../go/pkg/mod/github.com/src-d/go-git@v4.5.0+incompatible/repository.go:14:2: use of internal package gopkg.in/src-d/go-git.v4/internal/revision not allowed in github.com/src-d/go-git
I'm using go-1.11beta3 and this is a project outside of $GOPATH. I'm using go modules for this project.
The text was updated successfully, but these errors were encountered:
@particledecay how did you import go-git (what import path did you use)?
You cannot import as github.com/src-d/go-git. It has to go via gopkg.in, so for go-git 4.X it will be: gopkg.in/src-d/go-git.v4
After importing go-git into my project, I can no longer build successfully. I get the following error:
I'm using go-1.11beta3 and this is a project outside of
$GOPATH
. I'm using go modules for this project.The text was updated successfully, but these errors were encountered: