Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13c7690

Browse files
committed
chore: Move to sqlc-dev organization
1 parent7e8e0a3 commit13c7690

File tree

11 files changed

+25
-200
lines changed

11 files changed

+25
-200
lines changed

‎go.mod‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
modulegithub.com/tabbed/sqlc-gen-python
1+
modulegithub.com/sqlc-dev/sqlc-gen-python
22

33
go1.19
44

@@ -7,8 +7,11 @@ require (
77
github.com/google/go-cmpv0.5.9
88
github.com/jinzhu/inflectionv1.0.0
99
github.com/mailru/easyjsonv0.7.7
10-
github.com/tabbed/sqlc-gov1.18.0
10+
github.com/sqlc-dev/sqlc-gov1.18.1
1111
google.golang.org/protobufv1.30.0
1212
)
1313

14-
requiregithub.com/josharian/internv1.0.0// indirect
14+
require (
15+
github.com/josharian/internv1.0.0// indirect
16+
github.com/tabbed/sqlc-gov1.18.0// indirect
17+
)

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8Hm
1010
github.com/josharian/internv1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
1111
github.com/mailru/easyjsonv0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
1212
github.com/mailru/easyjsonv0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
13-
github.com/tabbed/sqlc-gov1.16.0 h1:EwPBXdGn5tyrLjcNiHRoQthWvJeF5NjG9Cx1WK5iFsY=
14-
github.com/tabbed/sqlc-gov1.16.0/go.mod h1:mqMU5duZRGz5Wp/qJXwkERf+MXgGOZ8BmW/tH9KyvWA=
13+
github.com/sqlc-dev/sqlc-gov1.18.1 h1:mmudfN9G938piXnZGvrMEHp9RF4dD+InQIY1BaoQOvU=
14+
github.com/sqlc-dev/sqlc-gov1.18.1/go.mod h1:v6c+FMh0YrbT9RU9+S5Sh62VXmVhdpTsQoXn1QxH294=
1515
github.com/tabbed/sqlc-gov1.18.0 h1:GNE8b8xue8fKVptQnr3Z6DV8FqdokyDYML7O0kYtbe4=
1616
github.com/tabbed/sqlc-gov1.18.0/go.mod h1:qx8ocsmviBDyRfLNuJQtdu0f5oqa8XBjKxMldl+Wm24=
1717
golang.org/x/xerrorsv0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

‎internal/ast/ast.pb.go‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎internal/config_easyjson.go‎

Lines changed: 0 additions & 178 deletions
This file was deleted.

‎internal/gen.go‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package python
22

33
import (
44
"context"
5+
json"encoding/json"
56
"errors"
67
"fmt"
78
"log"
@@ -10,14 +11,13 @@ import (
1011
"strings"
1112

1213
"buf.build/gen/go/sqlc/sqlc/protocolbuffers/go/protos/plugin"
13-
easyjson"github.com/mailru/easyjson"
14-
"github.com/tabbed/sqlc-go/metadata"
15-
"github.com/tabbed/sqlc-go/sdk"
16-
17-
pyast"github.com/tabbed/sqlc-gen-python/internal/ast"
18-
"github.com/tabbed/sqlc-gen-python/internal/inflection"
19-
"github.com/tabbed/sqlc-gen-python/internal/poet"
20-
pyprint"github.com/tabbed/sqlc-gen-python/internal/printer"
14+
"github.com/sqlc-dev/sqlc-go/metadata"
15+
"github.com/sqlc-dev/sqlc-go/sdk"
16+
17+
pyast"github.com/sqlc-dev/sqlc-gen-python/internal/ast"
18+
"github.com/sqlc-dev/sqlc-gen-python/internal/inflection"
19+
"github.com/sqlc-dev/sqlc-gen-python/internal/poet"
20+
pyprint"github.com/sqlc-dev/sqlc-gen-python/internal/printer"
2121
)
2222

2323
typeConstantstruct {
@@ -1094,7 +1094,7 @@ func HashComment(s string) string {
10941094
funcGenerate(_ context.Context,req*plugin.CodeGenRequest) (*plugin.CodeGenResponse,error) {
10951095
varconfConfig
10961096
iflen(req.PluginOptions)>0 {
1097-
iferr:=easyjson.Unmarshal(req.PluginOptions,&conf);err!=nil {
1097+
iferr:=json.Unmarshal(req.PluginOptions,&conf);err!=nil {
10981098
returnnil,err
10991099
}
11001100
}

‎internal/poet/builders.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package poet
22

3-
import"github.com/tabbed/sqlc-gen-python/internal/ast"
3+
import"github.com/sqlc-dev/sqlc-gen-python/internal/ast"
44

55
funcAlias(namestring)*ast.Node {
66
return&ast.Node{

‎internal/poet/poet.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package poet
22

33
import (
4-
"github.com/tabbed/sqlc-gen-python/internal/ast"
4+
"github.com/sqlc-dev/sqlc-gen-python/internal/ast"
55
)
66

77
typeprotointerface {

‎internal/postgresql_type.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"log"
55

66
"buf.build/gen/go/sqlc/sqlc/protocolbuffers/go/protos/plugin"
7-
"github.com/tabbed/sqlc-go/sdk"
7+
"github.com/sqlc-dev/sqlc-go/sdk"
88
)
99

1010
funcpostgresType(req*plugin.CodeGenRequest,col*plugin.Column)string {

‎internal/printer/printer.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"strconv"
55
"strings"
66

7-
"github.com/tabbed/sqlc-gen-python/internal/ast"
7+
"github.com/sqlc-dev/sqlc-gen-python/internal/ast"
88
)
99

1010
typewriterstruct {

‎internal/printer/printer_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/google/go-cmp/cmp"
88

9-
"github.com/tabbed/sqlc-gen-python/internal/ast"
9+
"github.com/sqlc-dev/sqlc-gen-python/internal/ast"
1010
)
1111

1212
typetestcasestruct {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp