aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAndrej Bencic <bencicandrej94@gmail.com>2017-03-28 11:24:08 +0200
committerAndrej Bencic <bencicandrej94@gmail.com>2017-03-28 11:24:08 +0200
commit7d6cc67e1673259ea9e9395aa3ba80b7db9e5a7e (patch)
treec3d4c00f4a307c776bc702a2dde1e22c101c24d5 /README.md
parent36c78b9d1b1eea682703fb1cbb0f4f3144354389 (diff)
downloadgo-git-7d6cc67e1673259ea9e9395aa3ba80b7db9e5a7e.tar.gz
Updated README in memory example.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index cd6450f..66f7fae 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ ref, err := r.Head()
CheckIfError(err)
// ... retrieves the commit object
-commit, err := r.Commit(ref.Hash())
+commit, err := r.CommitObject(ref.Hash())
CheckIfError(err)
// ... retrieves the commit history