diff options
Diffstat (limited to 'examples/remotes')
-rw-r--r-- | examples/remotes/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/remotes/main.go b/examples/remotes/main.go index 552d6a5..3ccecd7 100644 --- a/examples/remotes/main.go +++ b/examples/remotes/main.go @@ -7,7 +7,7 @@ import ( "gopkg.in/src-d/go-git.v4" "gopkg.in/src-d/go-git.v4/config" - "gopkg.in/src-d/go-git.v4/core" + "gopkg.in/src-d/go-git.v4/plumbing" ) func main() { @@ -46,10 +46,10 @@ func main() { color.Blue("git show-ref") refs, _ := r.Refs() - refs.ForEach(func(ref *core.Reference) error { + refs.ForEach(func(ref *plumbing.Reference) error { // The HEAD is ommitted in a `git show-ref` so we ignore the symbolic // references, the HEAD - if ref.Type() == core.SymbolicReference { + if ref.Type() == plumbing.SymbolicReference { return nil } |