aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/showcase
diff options
context:
space:
mode:
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)