@@ -2,6 +2,7 @@ package python
2
2
3
3
import (
4
4
"context"
5
+ json "encoding/json"
5
6
"errors"
6
7
"fmt"
7
8
"log"
@@ -10,14 +11,13 @@ import (
10
11
"strings"
11
12
12
13
"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"
21
21
)
22
22
23
23
type Constant struct {
@@ -1094,7 +1094,7 @@ func HashComment(s string) string {
1094
1094
func Generate (_ context.Context , req * plugin.CodeGenRequest ) (* plugin.CodeGenResponse , error ) {
1095
1095
var conf Config
1096
1096
if len (req .PluginOptions ) > 0 {
1097
- if err := easyjson .Unmarshal (req .PluginOptions , & conf ); err != nil {
1097
+ if err := json .Unmarshal (req .PluginOptions , & conf ); err != nil {
1098
1098
return nil , err
1099
1099
}
1100
1100
}
0 commit comments