proxy.golang.org : github.com/codemodus/tote : v0.0.0-20180826212951-4d04ab4209bd
Tote is a CLI application for generating structs which store SQL queries as defined by the directory and file structure supplied (default is "./sqltote"). Only .sql files are read. Normally, this command should be called using go:generate. If called from the command line, "pkg" must be set. The following usage will produce a package named "totepkg" within the "totepkg" directory: The following usage will add a second file to the "totepkg" package: Queries are accessible in this way: The main caveat seems to be naming collisions which was the primary motivation for the prefix flag. Stay aware and problems can be avoided. This package started as a fork of smotes/purse.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/codemodus/[email protected]
Published:
Indexed:
- github.com/codemodus/kace v0.5.0