Skip to content

Commit

Permalink
Bump go.mod version.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Apr 10, 2024
1 parent 03c6fbe commit 9be7446
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strconv"

"github.com/kalbhor/tasqueue/v2"
"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/models"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"time"

"github.com/stretchr/testify/assert"
"github.com/zerodha/dungbeetle/internal/core"
"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/internal/core"
"github.com/zerodha/dungbeetle/v2/models"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strconv"

"github.com/go-chi/chi/v5"
"github.com/zerodha/dungbeetle/internal/core"
"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/internal/core"
"github.com/zerodha/dungbeetle/v2/models"
)

// reValidateName represents the character classes allowed in a job ID.
Expand Down
6 changes: 3 additions & 3 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import (
"github.com/knadh/koanf/providers/posflag"
"github.com/knadh/koanf/v2"
flag "github.com/spf13/pflag"
"github.com/zerodha/dungbeetle/internal/core"
"github.com/zerodha/dungbeetle/internal/dbpool"
"github.com/zerodha/dungbeetle/internal/resultbackends/sqldb"
"github.com/zerodha/dungbeetle/v2/internal/core"
"github.com/zerodha/dungbeetle/v2/internal/dbpool"
"github.com/zerodha/dungbeetle/v2/internal/resultbackends/sqldb"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/server_test.go.bak
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"github.com/RichardKnop/machinery/v1/config"
"github.com/go-chi/chi/v5"
"github.com/stretchr/testify/assert"
"github.com/zerodha/dungbeetle/backends"
"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/backends"
"github.com/zerodha/dungbeetle/v2/models"
)

// Test jobber container
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/zerodha/dungbeetle
module github.com/zerodha/dungbeetle/v2

go 1.21

Expand Down
4 changes: 2 additions & 2 deletions internal/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
uuid "github.com/gofrs/uuid/v5"
"github.com/kalbhor/tasqueue/v2"
"github.com/vmihailenco/msgpack"
"github.com/zerodha/dungbeetle/internal/dbpool"
"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/internal/dbpool"
"github.com/zerodha/dungbeetle/v2/models"
)

// Opt represents core options.
Expand Down
2 changes: 1 addition & 1 deletion internal/core/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math/rand"
"strings"

"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/models"
)

// ResultBackends represents a map of result writing backends (sql DBs).
Expand Down
2 changes: 1 addition & 1 deletion internal/core/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/knadh/goyesql/v2"
"github.com/zerodha/dungbeetle/internal/dbpool"
"github.com/zerodha/dungbeetle/v2/internal/dbpool"
)

// Task represents an SQL query with its prepared and raw forms.
Expand Down
2 changes: 1 addition & 1 deletion internal/resultbackends/sqldb/sqldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"sync"
"time"

"github.com/zerodha/dungbeetle/models"
"github.com/zerodha/dungbeetle/v2/models"
)

const (
Expand Down

0 comments on commit 9be7446

Please sign in to comment.