diff --git a/README.md b/README.md index 5a9c94e..7b25c8d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ we are going there. [![travis](https://travis-ci.org/didiercrunch/filou.svg)](https://travis-ci.org/didiercrunch/filou/) -[![Coverage Status](https://img.shields.io/coveralls/didiercrunch/filou.svg)](https://coveralls.io/r/didiercrunch/filou) ## the name diff --git a/keygenerator/key_generator.go b/keygenerator/key_generator.go index ac25a57..3ab8d8d 100644 --- a/keygenerator/key_generator.go +++ b/keygenerator/key_generator.go @@ -5,10 +5,11 @@ import ( "crypto/rsa" "encoding/json" "errors" - "github.com/didiercrunch/filou/keys" - "github.com/didiercrunch/filou/shared" "os" "path" + + "github.com/didiercrunch/filou/keys" + "github.com/didiercrunch/filou/shared" ) type KeyGenerator struct { diff --git a/keygenerator/key_generator_test.go b/keygenerator/key_generator_test.go index 1cb8796..241e47f 100644 --- a/keygenerator/key_generator_test.go +++ b/keygenerator/key_generator_test.go @@ -2,12 +2,13 @@ package keygenerator import ( "encoding/json" - "github.com/didiercrunch/filou/keys" "io/ioutil" "os" "path" "reflect" "testing" + + "github.com/didiercrunch/filou/keys" ) func TestCreateRSAKey(t *testing.T) { diff --git a/keys/keys.go b/keys/keys.go index 957c3e4..3e23f75 100644 --- a/keys/keys.go +++ b/keys/keys.go @@ -5,8 +5,9 @@ import ( "encoding/json" "errors" "fmt" - "github.com/didiercrunch/filou/shared" "math/big" + + "github.com/didiercrunch/filou/shared" ) const ( diff --git a/keys/keys_test.go b/keys/keys_test.go index d54fb75..dc0788d 100644 --- a/keys/keys_test.go +++ b/keys/keys_test.go @@ -3,10 +3,11 @@ package keys import ( "crypto/rsa" "encoding/json" - . "github.com/didiercrunch/filou/helper" "math/big" "reflect" "testing" + + . "github.com/didiercrunch/filou/helper" ) func TestGetDefaultRSAPublicKey(t *testing.T) { diff --git a/payload/block_test.go b/payload/block_test.go index c69d0ca..fadf1d6 100644 --- a/payload/block_test.go +++ b/payload/block_test.go @@ -6,9 +6,10 @@ import ( "crypto/cipher" "errors" "fmt" - "github.com/didiercrunch/filou/helper" "reflect" "testing" + + "github.com/didiercrunch/filou/helper" ) type Blocker func([]byte) (cipher.Block, error) diff --git a/payload/blockmode_test.go b/payload/blockmode_test.go index a07ec90..42028b2 100644 --- a/payload/blockmode_test.go +++ b/payload/blockmode_test.go @@ -3,8 +3,9 @@ package payload import ( "crypto/cipher" "crypto/des" - "github.com/didiercrunch/filou/helper" "testing" + + "github.com/didiercrunch/filou/helper" ) func getAnyBlock() cipher.Block { diff --git a/payload/hash_test.go b/payload/hash_test.go index d16172e..a89ff15 100644 --- a/payload/hash_test.go +++ b/payload/hash_test.go @@ -5,12 +5,13 @@ import ( cryptoSHA512 "crypto/sha512" "encoding/hex" "errors" - "github.com/didiercrunch/filou/helper" "hash" "io" "io/ioutil" "reflect" "testing" + + "github.com/didiercrunch/filou/helper" ) var __ = ioutil.Discard diff --git a/payload/metadata_test.go b/payload/metadata_test.go index 61ce4d0..490d2ef 100644 --- a/payload/metadata_test.go +++ b/payload/metadata_test.go @@ -2,10 +2,11 @@ package payload import ( "encoding/json" - "github.com/didiercrunch/filou/helper" "reflect" "strings" "testing" + + "github.com/didiercrunch/filou/helper" ) func TestJsonifyMetadata(t *testing.T) {