You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to set up a Go project using sqlc.
But facing the very annoying issue.
Relevant log output
asus@asus-Vivobook-ASUSLaptop-M6500QC-M6500QC:~/Projects/BackendMasterClass/simplebank$ sqlc init
sqlc.yaml is already created
asus@asus-Vivobook-ASUSLaptop-M6500QC-M6500QC:~/Projects/BackendMasterClass/simplebank$ sqlc version
v1.27.0
asus@asus-Vivobook-ASUSLaptop-M6500QC-M6500QC:~/Projects/BackendMasterClass/simplebank$ sqlc generate
error parsing sqlc.yaml: file does not exist
asus@asus-Vivobook-ASUSLaptop-M6500QC-M6500QC:~/Projects/BackendMasterClass/simplebank$
version: "2"sql:
- schema: ./db/migration/000001_init_schema.down.sql # Path to your schema or migration filesqueries: ./db/query/account.sql # Path where your SQL query files are storedengine: postgresql # Database engine (e.g., postgresql, mysql, sqlite)codegen:
go:
package: github.com/techschool # Package name for generated codeout: sqlc # Directory where generated code will be placedemit_json_tags: true # Emit JSON tags in structsemit_prepared_queries: falseemit_interface: falseemit_exact_table_names: false
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered:
Version
1.27.0
What happened?
I was trying to set up a Go project using sqlc.
But facing the very annoying issue.
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: