Skip to content

Commit

Permalink
Consistent imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleterry committed Sep 24, 2014
1 parent 6b96c32 commit 3e050e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions frontend/goleg/highlevel.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ package goleg
#cgo LDFLAGS: -L../build/lib/ -loleg
#include <oleg.h>
*/
import "C"
import "time"
import (
"C"
"time"
)

type Database struct {
db *C.ol_database
Expand Down
10 changes: 6 additions & 4 deletions frontend/goleg/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ package goleg
#include <stdlib.h>
#include <oleg.h>
*/
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
Expand Down

1 comment on commit 3e050e9

@Hamcha
Copy link
Member

@Hamcha Hamcha commented on 3e050e9 Sep 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.