sqlc
sqlc copied to clipboard
feat(plugin): add configuration to run go package
This PR adds "go_package" field under "plugin.process" for configurations I'm trying to write plugin for a specific project, so I think it's reasonable to put plugin code alongside the project, and currently we need to install the plugin into $PATH before running sqlc generate, this simplifies the process. I suspect the "cmd" field checks for existence for some reason, so I didn't add a "args" field which may be more universal but less maintainable. I'm not sure about that.
I've being using this for a while and I didn't run into problems. rebased and squashed. any thoughts on this? @kyleconroy