Skip to content

Commit c8eb1f3

Browse files
committed
chore: Move everything into an internal package
1 parent 7fecc58 commit c8eb1f3

File tree

13 files changed

+2020
-4
lines changed

13 files changed

+2020
-4
lines changed

‎Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
all: sqlc-gen-python sqlc-gen-python.wasm
22

33
sqlc-gen-python:
4-
cdcmd/sqlc-gen-python&& go build -o ~/bin/sqlc-gen-python ./main.go
4+
cdplugin&& go build -o ~/bin/sqlc-gen-python ./main.go
55

66
sqlc-gen-python.wasm:
7-
cdcmd/sqlc-gen-python&& tinygo build -o sqlc-gen-python.wasm -gc=leaking -scheduler=none -wasm-abi=generic -target=wasi main.go
8-
openssl sha256 cmd/sqlc-gen-python/sqlc-gen-python.wasm
7+
cdplugin&& tinygo build -o sqlc-gen-python.wasm -gc=leaking -scheduler=none -wasm-abi=generic -target=wasi main.go
8+
openssl sha256 plugin/sqlc-gen-python.wasm
99

File renamed without changes.

‎internal/config.go‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package python
2+
3+
typeConfigstruct{
4+
EmitExactTableNamesbool`json:"emit_exact_table_names"`
5+
EmitSyncQuerierbool`json:"emit_sync_querier"`
6+
EmitAsyncQuerierbool`json:"emit_async_querier"`
7+
Packagestring`json:"package"`
8+
Outstring`json:"out"`
9+
EmitPydanticModelsbool`json:"emit_pydantic_models"`
10+
QueryParameterLimit*int32`json:"query_parameter_limit"`
11+
InflectionExcludeTableNames []string`json:"inflection_exclude_table_names"`
12+
}

‎internal/config_easyjson.go‎

Lines changed: 178 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)