Skip to content

Commit

Permalink
update module path (aws-dax-go/v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamaton committed Jun 9, 2023
1 parent 5cc083a commit 4937cd6
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion dax/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"errors"
"io"

"github.com/aws/aws-dax-go/dax/internal/client"
"github.com/aws/aws-dax-go/v2/dax/internal/client"
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
)

Expand Down
2 changes: 1 addition & 1 deletion dax/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

"github.com/aws/aws-dax-go/dax/internal/client"
"github.com/aws/aws-dax-go/v2/dax/internal/client"
)

// https://github.com/aws/aws-dax-go/issues/27
Expand Down
2 changes: 1 addition & 1 deletion dax/internal/cbor/item.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"fmt"
"sort"

"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
)

Expand Down
2 changes: 1 addition & 1 deletion dax/internal/cbor/item_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"testing"

"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
)
Expand Down
4 changes: 2 additions & 2 deletions dax/internal/client/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"errors"
"fmt"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
"github.com/aws/smithy-go"
Expand Down
4 changes: 2 additions & 2 deletions dax/internal/client/error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"reflect"
"testing"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
"github.com/aws/smithy-go"
Expand Down
6 changes: 3 additions & 3 deletions dax/internal/client/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"sort"
"strings"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/dax/internal/parser"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/parser"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
Expand Down
4 changes: 2 additions & 2 deletions dax/internal/client/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"errors"
"fmt"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
Expand Down
4 changes: 2 additions & 2 deletions dax/internal/client/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"errors"
"time"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/dax/internal/lru"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/lru"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
Expand Down
2 changes: 1 addition & 1 deletion dax/internal/client/single_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/smithy-go"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion dax/internal/client/tube.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strconv"
"time"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
)

const magic = "J7yne5G"
Expand Down
2 changes: 1 addition & 1 deletion dax/internal/client/tubepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"sync"
"time"

"github.com/aws/aws-dax-go/dax/internal/proxy"
"github.com/aws/aws-dax-go/v2/dax/internal/proxy"
)

const network = "tcp"
Expand Down
2 changes: 1 addition & 1 deletion dax/internal/client/tubepool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"testing"
"time"

"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
)
Expand Down
4 changes: 2 additions & 2 deletions dax/internal/parser/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"strings"

"github.com/antlr/antlr4/runtime/Go/antlr"
"github.com/aws/aws-dax-go/dax/internal/cbor"
"github.com/aws/aws-dax-go/dax/internal/parser/generated"
"github.com/aws/aws-dax-go/v2/dax/internal/cbor"
"github.com/aws/aws-dax-go/v2/dax/internal/parser/generated"
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
)

Expand Down
3 changes: 2 additions & 1 deletion dax/internal/parser/two_stage_expression_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ package parser

import (
"fmt"

"github.com/antlr/antlr4/runtime/Go/antlr"
"github.com/aws/aws-dax-go/dax/internal/parser/generated"
"github.com/aws/aws-dax-go/v2/dax/internal/parser/generated"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion dax/pagination_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package dax

import (
"github.com/aws/aws-dax-go/dax/internal/client"
"github.com/aws/aws-dax-go/v2/dax/internal/client"
)

func NewWithInternalClient(c client.DaxAPI) *Dax {
Expand Down
4 changes: 2 additions & 2 deletions dax/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (

"github.com/aws/smithy-go/logging"

"github.com/aws/aws-dax-go/dax/internal/client"
"github.com/aws/aws-dax-go/dax/internal/proxy"
"github.com/aws/aws-dax-go/v2/dax/internal/client"
"github.com/aws/aws-dax-go/v2/dax/internal/proxy"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
)
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/aws/aws-dax-go
module github.com/aws/aws-dax-go/v2

go 1.11

Expand All @@ -8,6 +8,7 @@ require (
github.com/aws/aws-sdk-go-v2/config v1.18.25
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5
github.com/aws/smithy-go v1.13.5
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gofrs/uuid v3.3.0+incompatible
github.com/stretchr/testify v1.5.1
github.com/stretchr/testify v1.7.0
)
10 changes: 6 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.19.0 h1:2DQLAKDteoEDI8zpCzqBMaZlJuoE
github.com/aws/aws-sdk-go-v2/service/sts v1.19.0/go.mod h1:BgQOMsg8av8jset59jelyPW7NoZcZXLVpDsXunGDrk8=
github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8=
github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gofrs/uuid v3.3.0+incompatible h1:8K4tyRfvU1CYPgJsveYFQMhpFd/wXNM7iK6rR7UHz84=
github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
Expand All @@ -47,10 +48,11 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 comments on commit 4937cd6

Please sign in to comment.