Skip to content

Commit 4677bcf

Browse files
committed
Adding default base64 encoding to sqs send message.
1 parent 578f0c1 commit 4677bcf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/aws/sqs/service_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package sqs
22

33
import (
4+
"encoding/base64"
5+
"encoding/json"
46
pkgAws "github.com/andream16/aws-sdk-go-bindings/pkg/aws"
57
"github.com/andream16/aws-sdk-go-bindings/testdata"
68
"github.com/stretchr/testify/assert"
79
"testing"
8-
"encoding/base64"
9-
"encoding/json"
1010
)
1111

1212
const (

pkg/aws/sqs/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package sqs
22

33
import (
4+
"encoding/base64"
45
"encoding/json"
56
"errors"
67
"github.com/aws/aws-sdk-go/service/sqs"
78
"reflect"
8-
"encoding/base64"
99
)
1010

1111
// NewCreateQueueInput creates a new queue given its name

pkg/aws/sqs/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package sqs
22

33
import (
4+
"encoding/base64"
45
"encoding/json"
56
"github.com/stretchr/testify/assert"
67
"testing"
7-
"encoding/base64"
88
)
99

1010
func TestNewCreateQueueInput(t *testing.T) {

0 commit comments

Comments
 (0)