From 78dfa584698c14c7d8cdd822a65f6db9e053de7a Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Tue, 13 Jun 2017 14:27:45 +0200 Subject: fix gofmt --- plumbing/format/idxfile/decoder_test.go | 3 ++- plumbing/format/idxfile/encoder_test.go | 3 ++- plumbing/storer/storer.go | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'plumbing') diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go index 27aa59b..609f4e3 100644 --- a/plumbing/format/idxfile/decoder_test.go +++ b/plumbing/format/idxfile/decoder_test.go @@ -5,10 +5,11 @@ import ( "fmt" "testing" - . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" "gopkg.in/src-d/go-git.v4/storage/memory" + + . "gopkg.in/check.v1" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go index fab87b3..1fc4e9c 100644 --- a/plumbing/format/idxfile/encoder_test.go +++ b/plumbing/format/idxfile/encoder_test.go @@ -4,9 +4,10 @@ import ( "bytes" "io/ioutil" - . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" "gopkg.in/src-d/go-git.v4/plumbing" + + . "gopkg.in/check.v1" ) func (s *IdxfileSuite) TestEncode(c *C) { diff --git a/plumbing/storer/storer.go b/plumbing/storer/storer.go index 863070d..c7bc65a 100644 --- a/plumbing/storer/storer.go +++ b/plumbing/storer/storer.go @@ -8,7 +8,7 @@ type Storer interface { // Initializer should be implemented by storers that require to perform any // operation when creating a new repository (i.e. git init). -type Initializer interface{ +type Initializer interface { // Init performs initialization of the storer and returns the error, if // any. Init() error -- cgit