autoquery

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2024 License: MIT

README

autoquery is a tool for extracting inline sql comments into sqlc/queries files

[CI]

ubuntu@macbook:autoquery$ autoquery --help
Usage: autoquery [<pkg>]

autoquery is a tool for generating sqlc queries from Go comments

Example:

    /* autoquery name: GetChargesSyncable :many

    SELECT ...
    */

Arguments:
  [<pkg>]    Package to scan for autoquery comments.

Flags:
  -h, --help              Show context-sensitive help.
      --out-dir=STRING    Destination directory for the sql files.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL