diff --git a/frontend/goleg/highlevel.go b/frontend/goleg/highlevel.go index 5f2336e..f45bce0 100644 --- a/frontend/goleg/highlevel.go +++ b/frontend/goleg/highlevel.go @@ -5,8 +5,10 @@ package goleg #cgo LDFLAGS: -L../build/lib/ -loleg #include */ -import "C" -import "time" +import ( + "C" + "time" +) type Database struct { db *C.ol_database diff --git a/frontend/goleg/wrapper.go b/frontend/goleg/wrapper.go index e51d2b6..3e457b9 100644 --- a/frontend/goleg/wrapper.go +++ b/frontend/goleg/wrapper.go @@ -6,10 +6,12 @@ package goleg #include #include */ -import "C" -import "unsafe" -import "time" -import "reflect" +import ( + "C" + "unsafe" + "time" + "reflect" +) const F_APPENDONLY = C.OL_F_APPENDONLY const F_LZ4 = C.OL_F_LZ4