Release v3 - change v2 suffix to v3

Because of recent changes there is a need for a new major
release. Changes are switching to scylladb/gocql and replacing
Unsafe with Strict mechanism.
This commit is contained in:
sylwiaszunejko
2024-07-10 07:49:07 +02:00
committed by Sylwia Szunejko
parent 653faf1e03
commit e7267922c4
29 changed files with 67 additions and 65 deletions

View File

@@ -17,8 +17,8 @@ import (
"github.com/gocql/gocql"
"github.com/scylladb/gocqlx/v2"
_ "github.com/scylladb/gocqlx/v2/table"
"github.com/scylladb/gocqlx/v3"
_ "github.com/scylladb/gocqlx/v3/table"
)
var (
@@ -110,7 +110,7 @@ func renderTemplate(md *gocql.KeyspaceMetadata) ([]byte, error) {
imports := make([]string, 0)
if len(md.Types) != 0 {
imports = append(imports, "github.com/scylladb/gocqlx/v2")
imports = append(imports, "github.com/scylladb/gocqlx/v3")
}
for _, t := range md.Tables {