diff --git a/docs/guides/migrating-to-sqlc-gen-kotlin.md b/docs/guides/migrating-to-sqlc-gen-kotlin.md index 7c01c6d598..2c39e1c4c4 100644 --- a/docs/guides/migrating-to-sqlc-gen-kotlin.md +++ b/docs/guides/migrating-to-sqlc-gen-kotlin.md @@ -3,7 +3,7 @@ Starting in sqlc 1.16.0, built-in Kotlin support has been deprecated. It will be fully removed in 1.17.0 in favor of sqlc-gen-kotlin. -This guide will walk you through migrating to the [sqlc-gen-kotlin](https://github.com/tabbed/sqlc-gen-kotlin) plugin, +This guide will walk you through migrating to the [sqlc-gen-kotlin](https://github.com/sqlc-dev/sqlc-gen-kotlin) plugin, which involves three steps. 1. Add the sqlc-gen-kotlin plugin diff --git a/docs/guides/migrating-to-sqlc-gen-python.md b/docs/guides/migrating-to-sqlc-gen-python.md index f1dc05a84a..e139ad0636 100644 --- a/docs/guides/migrating-to-sqlc-gen-python.md +++ b/docs/guides/migrating-to-sqlc-gen-python.md @@ -3,7 +3,7 @@ Starting in sqlc 1.16.0, built-in Python support has been deprecated. It will be fully removed in 1.17.0 in favor of sqlc-gen-python. -This guide will walk you through migrating to the [sqlc-gen-python](https://github.com/tabbed/sqlc-gen-python) plugin, +This guide will walk you through migrating to the [sqlc-gen-python](https://github.com/sqlc-dev/sqlc-gen-python) plugin, which involves three steps. 1. Add the sqlc-gen-python plugin diff --git a/docs/reference/config.md b/docs/reference/config.md index 45c143e54c..b23af00937 100644 --- a/docs/reference/config.md +++ b/docs/reference/config.md @@ -65,7 +65,7 @@ version: '2' plugins: - name: py wasm: - url: https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm + url: https://github.com/sqlc-dev/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm sha256: 428476c7408fd4c032da4ec74e8a7344f4fa75e0f98a5a3302f238283b9b95f2 sql: - schema: "schema.sql" @@ -273,7 +273,7 @@ sql: #### kotlin -> Removed in v1.17.0 and replaced by the [sqlc-gen-kotlin](https://github.com/tabbed/sqlc-gen-kotlin) plugin. Follow the [migration guide](../guides/migrating-to-sqlc-gen-kotlin) to switch. +> Removed in v1.17.0 and replaced by the [sqlc-gen-kotlin](https://github.com/sqlc-dev/sqlc-gen-kotlin) plugin. Follow the [migration guide](../guides/migrating-to-sqlc-gen-kotlin) to switch. - `package`: - The package name to use for the generated code. @@ -284,7 +284,7 @@ sql: #### python -> Removed in v1.17.0 and replaced by the [sqlc-gen-python](https://github.com/tabbed/sqlc-gen-python) plugin. Follow the [migration guide](../guides/migrating-to-sqlc-gen-python) to switch. +> Removed in v1.17.0 and replaced by the [sqlc-gen-python](https://github.com/sqlc-dev/sqlc-gen-python) plugin. Follow the [migration guide](../guides/migrating-to-sqlc-gen-python) to switch. - `package`: - The package name to use for the generated code. @@ -328,7 +328,7 @@ version: 2 plugins: - name: "py" wasm: - url: "https://github.com/tabbed/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" + url: "https://github.com/sqlc-dev/sqlc-gen-python/releases/download/v0.16.0-alpha/sqlc-gen-python.wasm" sha256: "428476c7408fd4c032da4ec74e8a7344f4fa75e0f98a5a3302f238283b9b95f2" - name: "js" process: diff --git a/docs/reference/language-support.rst b/docs/reference/language-support.rst index 48975de81b..085e5c1caa 100644 --- a/docs/reference/language-support.rst +++ b/docs/reference/language-support.rst @@ -19,8 +19,8 @@ F# `kaashyapan/sqlc-gen-fsharp`_ Not implemented Beta Beta ======== ============================== =============== ============ =============== .. _kaashyapan/sqlc-gen-fsharp: https://github.com/kaashyapan/sqlc-gen-fsharp -.. _sqlc-gen-kotlin: https://github.com/tabbed/sqlc-gen-kotlin -.. _sqlc-gen-python: https://github.com/tabbed/sqlc-gen-python +.. _sqlc-gen-kotlin: https://github.com/sqlc-dev/sqlc-gen-kotlin +.. _sqlc-gen-python: https://github.com/sqlc-dev/sqlc-gen-python Future language support ************************ diff --git a/internal/codegen/golang/imports.go b/internal/codegen/golang/imports.go index bd6fafd393..2be8fad7d2 100644 --- a/internal/codegen/golang/imports.go +++ b/internal/codegen/golang/imports.go @@ -190,7 +190,7 @@ func buildImports(settings *plugin.Settings, queries []Query, uses func(string) for typeName, _ := range pqtypeTypes { if uses(typeName) { - pkg[ImportSpec{Path: "github.com/tabbed/pqtype"}] = struct{}{} + pkg[ImportSpec{Path: "github.com/sqlc-dev/pqtype"}] = struct{}{} break } } diff --git a/internal/endtoend/testdata/datatype/stdlib/go/models.go b/internal/endtoend/testdata/datatype/stdlib/go/models.go index 0dbb3579db..2650ad9558 100644 --- a/internal/endtoend/testdata/datatype/stdlib/go/models.go +++ b/internal/endtoend/testdata/datatype/stdlib/go/models.go @@ -8,7 +8,7 @@ import ( "database/sql" "time" - "github.com/tabbed/pqtype" + "github.com/sqlc-dev/pqtype" ) type DtCharacter struct { diff --git a/internal/endtoend/testdata/emit_pointers_for_null_types/stdlib/go/models.go b/internal/endtoend/testdata/emit_pointers_for_null_types/stdlib/go/models.go index 0dbb3579db..2650ad9558 100644 --- a/internal/endtoend/testdata/emit_pointers_for_null_types/stdlib/go/models.go +++ b/internal/endtoend/testdata/emit_pointers_for_null_types/stdlib/go/models.go @@ -8,7 +8,7 @@ import ( "database/sql" "time" - "github.com/tabbed/pqtype" + "github.com/sqlc-dev/pqtype" ) type DtCharacter struct { diff --git a/internal/endtoend/testdata/func_return/postgresql/stdlib/go/query.sql.go b/internal/endtoend/testdata/func_return/postgresql/stdlib/go/query.sql.go index 1f1b32fb29..5d58491f5c 100644 --- a/internal/endtoend/testdata/func_return/postgresql/stdlib/go/query.sql.go +++ b/internal/endtoend/testdata/func_return/postgresql/stdlib/go/query.sql.go @@ -8,7 +8,7 @@ package querytest import ( "context" - "github.com/tabbed/pqtype" + "github.com/sqlc-dev/pqtype" ) const generateSeries = `-- name: GenerateSeries :many diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index a480880caf..4ee5a82606 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -11,7 +11,7 @@ require ( github.com/jackc/pgx/v5 v5.0.1 github.com/kyleconroy/sqlc-testdata v0.0.0-20200512000015-15313bc43553 github.com/lib/pq v1.9.0 - github.com/tabbed/pqtype v0.1.0 + github.com/sqlc-dev/pqtype v0.2.0 github.com/volatiletech/null/v8 v8.1.2 gopkg.in/guregu/null.v4 v4.0.0 ) diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index bdaacd373a..2290e9affd 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -101,6 +101,8 @@ github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc h1:jUIKcSPO9MoM github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sqlc-dev/pqtype v0.2.0 h1:zfzDpAxjCU0/GO7EgZ7ELUh0w28SrMSHzO3rH5Wd3is= +github.com/sqlc-dev/pqtype v0.2.0/go.mod h1:oyUjp5981ctiL9UYvj1bVvCKi8OXkCa0u645hce7CAs= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= @@ -109,8 +111,6 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= -github.com/tabbed/pqtype v0.1.0 h1:14Up99XVLn1feoYN6yOe6lKcF7159EJ5JqUXntkeFeI= -github.com/tabbed/pqtype v0.1.0/go.mod h1:HLt2kLJPcUhODQkYn3mJkMHXVsuv3Z2n5NZEeKXL0Uk= github.com/volatiletech/inflect v0.0.1 h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU= github.com/volatiletech/inflect v0.0.1/go.mod h1:IBti31tG6phkHitLlr5j7shC5SOo//x0AjDzaJU1PLA= github.com/volatiletech/null/v8 v8.1.2 h1:kiTiX1PpwvuugKwfvUNX/SU/5A2KGZMXfGD0DUHdKEI= diff --git a/internal/endtoend/testdata/json/postgresql/stdlib/go/models.go b/internal/endtoend/testdata/json/postgresql/stdlib/go/models.go index 16fd2a340e..81b156df9b 100644 --- a/internal/endtoend/testdata/json/postgresql/stdlib/go/models.go +++ b/internal/endtoend/testdata/json/postgresql/stdlib/go/models.go @@ -7,7 +7,7 @@ package querytest import ( "encoding/json" - "github.com/tabbed/pqtype" + "github.com/sqlc-dev/pqtype" ) type Foo struct {