Discover Packages
github.com/sqlc-dev/sqlc-gen-go
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2023
License: MIT
Opens a new window with license information.
README
README
¶
Usage
[!IMPORTANT]
This repository is read-only. It contains a working Go codegen plugin extracted from https://github.com/sqlc-dev/sqlc which you can fork and modify to meet your needs.
version: '2'
plugins:
- name: golang
wasm:
url: "https://example.com"
sha256: ""
sql:
- schema: schema.sql
queries: query.sql
engine: postgresql
codegen:
- plugin: golang
out: db
options:
package: db
sql_package: pgx/v5
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.