From 49a12dacea62205918b1ea4868fd8a4337e08a39 Mon Sep 17 00:00:00 2001 From: Travis Jeffery Date: Thu, 2 Feb 2017 19:42:54 -0500 Subject: [PATCH] keep protocol and commitlog separate --- protocol/protocol.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/protocol/protocol.go b/protocol/protocol.go index 3d104603..2fbef4b7 100644 --- a/protocol/protocol.go +++ b/protocol/protocol.go @@ -3,11 +3,9 @@ package protocol import ( "encoding/binary" "io" - - "github.com/travisjeffery/jocko/commitlog" ) -var Encoding = commitlog.Encoding +var Encoding = binary.BigEndian func Read(r io.Reader, data interface{}) error { return binary.Read(r, Encoding, data)