Skip to content

Commit a927488

Browse files
committed
Bump package name to v10
1 parent a56cfea commit a927488

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ COPY go.mod go.sum ./
77
RUN go mod download && go mod verify
88

99
COPY . .
10-
RUN go build -v -o /usr/local/bin/app github.com/nyaruka/rp-indexer/v9/cmd/rp-indexer
10+
RUN go build -v -o /usr/local/bin/app github.com/nyaruka/rp-indexer/v10/cmd/rp-indexer
1111

1212
CMD ["app"]

cmd/rp-indexer/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
_ "github.com/lib/pq"
1414
"github.com/nyaruka/ezconf"
1515
"github.com/nyaruka/gocommon/aws/cwatch"
16-
indexer "github.com/nyaruka/rp-indexer/v9"
17-
"github.com/nyaruka/rp-indexer/v9/indexers"
18-
"github.com/nyaruka/rp-indexer/v9/runtime"
16+
indexer "github.com/nyaruka/rp-indexer/v10"
17+
"github.com/nyaruka/rp-indexer/v10/indexers"
18+
"github.com/nyaruka/rp-indexer/v10/runtime"
1919
slogmulti "github.com/samber/slog-multi"
2020
slogsentry "github.com/samber/slog-sentry/v2"
2121
)

daemon.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
"github.com/aws/aws-sdk-go-v2/service/cloudwatch/types"
1111
"github.com/nyaruka/gocommon/aws/cwatch"
12-
"github.com/nyaruka/rp-indexer/v9/indexers"
13-
"github.com/nyaruka/rp-indexer/v9/runtime"
12+
"github.com/nyaruka/rp-indexer/v10/indexers"
13+
"github.com/nyaruka/rp-indexer/v10/runtime"
1414
)
1515

1616
type Daemon struct {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/nyaruka/rp-indexer/v9
1+
module github.com/nyaruka/rp-indexer/v10
22

33
go 1.24
44

indexers/base.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"time"
1313

1414
"github.com/nyaruka/gocommon/jsonx"
15-
"github.com/nyaruka/rp-indexer/v9/runtime"
16-
"github.com/nyaruka/rp-indexer/v9/utils"
15+
"github.com/nyaruka/rp-indexer/v10/runtime"
16+
"github.com/nyaruka/rp-indexer/v10/utils"
1717
)
1818

1919
// indexes a document

indexers/base_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"github.com/nyaruka/gocommon/elastic"
1616
"github.com/nyaruka/gocommon/httpx"
1717
"github.com/nyaruka/gocommon/jsonx"
18-
"github.com/nyaruka/rp-indexer/v9/indexers"
19-
"github.com/nyaruka/rp-indexer/v9/runtime"
18+
"github.com/nyaruka/rp-indexer/v10/indexers"
19+
"github.com/nyaruka/rp-indexer/v10/runtime"
2020
"github.com/stretchr/testify/assert"
2121
"github.com/stretchr/testify/require"
2222
)

indexers/contacts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"fmt"
99
"time"
1010

11-
"github.com/nyaruka/rp-indexer/v9/runtime"
11+
"github.com/nyaruka/rp-indexer/v10/runtime"
1212
)
1313

1414
//go:embed contacts.index.json

indexers/contacts_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
_ "github.com/lib/pq"
1010
"github.com/nyaruka/gocommon/elastic"
11-
"github.com/nyaruka/rp-indexer/v9/indexers"
11+
"github.com/nyaruka/rp-indexer/v10/indexers"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414
)

utils/http_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http/httptest"
66
"testing"
77

8-
"github.com/nyaruka/rp-indexer/v9/utils"
8+
"github.com/nyaruka/rp-indexer/v10/utils"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111
)

0 commit comments

Comments
 (0)