summaryrefslogtreecommitdiff
path: root/odb.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-08-31 20:22:17 +0200
committerCarlos Martín Nieto <[email protected]>2015-08-31 20:22:17 +0200
commitd5890f58e884174f1cee13d5a616e818ba2f5049 (patch)
treeca7877dbc9a0290550525022535d9b98b4101c15 /odb.go
parent876ddd17eba886c8d1cc10d34a8130dd147d63da (diff)
Run go fmt
As it seems to be something that many people can't get over, reformat all the files; as we're breaking things, whoever depended on 'next' will have to take many changes into account anyway, so let's include this to reduce the noise of incoming patches.
Diffstat (limited to 'odb.go')
-rw-r--r--odb.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb.go b/odb.go
index be0870e..ff8b739 100644
--- a/odb.go
+++ b/odb.go
@@ -8,10 +8,10 @@ extern void _go_git_odb_backend_free(git_odb_backend *backend);
*/
import "C"
import (
+ "fmt"
"reflect"
"runtime"
"unsafe"
- "fmt"
)
type Odb struct {
@@ -130,7 +130,7 @@ func (v *Odb) ForEach(callback OdbForEachCallback) error {
defer pointerHandles.Untrack(handle)
ret := C._go_git_odb_foreach(v.ptr, handle)
- fmt.Println("ret %v", ret);
+ fmt.Println("ret %v", ret)
if ret == C.GIT_EUSER {
return data.err
} else if ret < 0 {