aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/showcase
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-03-21 10:27:56 +0100
committerGitHub <noreply@github.com>2017-03-21 10:27:56 +0100
commitf51d4a8476f865eef27011a9d90e03566c43d59c (patch)
tree70e500b28fb9025dffce4cdb106e2ca3c47d9c9e /_examples/showcase
parent5f4169fe242e7c80d779984a86a1de5a1eb78218 (diff)
parent0c82b411f6cdf4ec66689042d77c35efe41106c3 (diff)
downloadgo-git-f51d4a8476f865eef27011a9d90e03566c43d59c.tar.gz
Merge pull request #296 from ajnavarro/improvement/repository
git: Repository methods changes
Diffstat (limited to '_examples/showcase')
-rw-r--r--_examples/showcase/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/showcase/main.go b/_examples/showcase/main.go
index 7bd9d09..0170cd8 100644
--- a/_examples/showcase/main.go
+++ b/_examples/showcase/main.go
@@ -39,7 +39,7 @@ func main() {
CheckIfError(err)
// ... retrieving the commit object
- commit, err := r.Commit(ref.Hash())
+ commit, err := r.CommitObject(ref.Hash())
CheckIfError(err)
fmt.Println(commit)