From 3e050e9b528d695bd8ffb4caf38f2430749a28de Mon Sep 17 00:00:00 2001 From: Kyle Terry Date: Tue, 23 Sep 2014 23:56:03 -0700 Subject: [PATCH] Consistent imports --- frontend/goleg/highlevel.go | 6 ++++-- frontend/goleg/wrapper.go | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) 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