Skip to content

Commit

Permalink
keep protocol and commitlog separate
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery committed Feb 3, 2017
1 parent 74e190e commit 49a12da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions protocol/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 49a12da

Please sign in to comment.