-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
* feat(golang): Add intialisms configuration * docs: Add docs for initialisms * Fix test names
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- name: SelectFoo :many | ||
SELECT * FROM foo; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CREATE TABLE foo( | ||
bar_id text | ||
); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"version": "2", | ||
"sql": [ | ||
{ | ||
"schema": "schema.sql", | ||
"queries": "query.sql", | ||
"engine": "postgresql", | ||
"gen": { | ||
"go": { | ||
"out": "db", | ||
"initialisms": [] | ||
} | ||
} | ||
} | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- name: SelectFoo :many | ||
SELECT * FROM foo; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CREATE TABLE foo( | ||
bar_id text, | ||
site_url text | ||
); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"version": "2", | ||
"sql": [ | ||
{ | ||
"schema": "schema.sql", | ||
"queries": "query.sql", | ||
"engine": "postgresql", | ||
"gen": { | ||
"go": { | ||
"out": "db", | ||
"initialisms": ["id", "url"] | ||
} | ||
} | ||
} | ||
] | ||
} |