fixed imports
This commit is contained in:
1 parent
c20fa39e0f
commit
1230137626
9 files changed
+17
-10
No files matched your search
@@ -8,7 +8,6 @@ we are going there.
|
||||
|
||||
|
||||
[](https://travis-ci.org/didiercrunch/filou/)
|
||||
[](https://coveralls.io/r/didiercrunch/filou)
|
||||
|
||||
|
||||
## the name
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
+2
-1
@@ -5,8 +5,9 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/didiercrunch/filou/shared"
|
||||
"math/big"
|
||||
|
||||
"github.com/didiercrunch/filou/shared"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+2
-1
@@ -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) {
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user