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

@@ -1,4 +1,4 @@
# 🚀 GocqlX [![GoDoc](https://pkg.go.dev/badge/github.com/scylladb/gocqlx/v2.svg)](https://pkg.go.dev/github.com/scylladb/gocqlx/v2) [![Go Report Card](https://goreportcard.com/badge/github.com/scylladb/gocqlx)](https://goreportcard.com/report/github.com/scylladb/gocqlx) [![Build Status](https://travis-ci.org/scylladb/gocqlx.svg?branch=master)](https://travis-ci.org/scylladb/gocqlx)
# 🚀 GocqlX [![GoDoc](https://pkg.go.dev/badge/github.com/scylladb/gocqlx/v3.svg)](https://pkg.go.dev/github.com/scylladb/gocqlx/v3) [![Go Report Card](https://goreportcard.com/badge/github.com/scylladb/gocqlx)](https://goreportcard.com/report/github.com/scylladb/gocqlx) [![Build Status](https://travis-ci.org/scylladb/gocqlx.svg?branch=master)](https://travis-ci.org/scylladb/gocqlx)
GocqlX makes working with Scylla easy and less error-prone.
Its inspired by [Sqlx](https://github.com/jmoiron/sqlx), a tool for working with SQL databases, but it goes beyond what Sqlx provides.
@@ -20,7 +20,7 @@ Subpackages provide additional functionality:
## Installation
```bash
go get -u github.com/scylladb/gocqlx/v2
go get -u github.com/scylladb/gocqlx/v3
```
## Getting started
@@ -112,7 +112,7 @@ t.Log(people)
Installation
```bash
go get -u "github.com/scylladb/gocqlx/v2/cmd/schemagen"
go get -u "github.com/scylladb/gocqlx/v3/cmd/schemagen"
```
Usage:
@@ -143,7 +143,7 @@ Generates `models/models.go` as follows:
package models
import "github.com/scylladb/gocqlx/v2/table"
import "github.com/scylladb/gocqlx/v3/table"
// Table models.
var (