From ac095bb12c4d29722b60ba9f20590fa7cfa6bc7d Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 8 Nov 2016 23:46:38 +0100 Subject: new plumbing package (#118) * plumbing: now core was renamed to core, and formats and clients moved inside --- examples/remotes/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/remotes/main.go') 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 } -- cgit