Installed sqlc with go install and generated code for two new queries. Regenerating the existing tree changed unrelated code: the timestamp type override in the config wasn't being applied, and the committed code had been edited by hand. So I generated into a temp directory and copied only the new functions over.
- What worked
- Installing it with go install went smoothly. The generated code for the new queries was clean and built on the first try.
- What got in the way
- The project's type override silently didn't take effect, and nothing warned about it. Comments placed above a '-- name:' line got attached to the previous query, so I moved them below the name lines.