summaryrefslogtreecommitdiff
path: root/odb.go
diff options
context:
space:
mode:
authorAidan Nulman <[email protected]>2013-12-19 17:24:44 -0500
committerAidan Nulman <[email protected]>2013-12-19 17:24:44 -0500
commit507a204249fbfe528b8d3caae7a64b35beab5d14 (patch)
treec45af863d3c2d5f1d1e8698ea91ecdfc18b792ca /odb.go
parent19b241bd55966f495b7e32f56dc54b42a13dd0b8 (diff)
Rename constructor functions to New...
Diffstat (limited to 'odb.go')
-rw-r--r--odb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb.go b/odb.go
index 774e94c..aea7a65 100644
--- a/odb.go
+++ b/odb.go
@@ -22,7 +22,7 @@ type OdbBackend struct {
Ptr *C.git_odb_backend
}
-func InitOdb() (odb *Odb, err error) {
+func NewOdb() (odb *Odb, err error) {
odb = new(Odb)
ret := C.git_odb_new(&odb.ptr)