I somehow ended up with migration file names that ended with commas. i.e. "000001_init-schema.up.sql,”.
The syntax error produced the following message:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x48ffd88]
This was difficult for someone who is new to go, sqlc, and sql to figure out. Hopefully, you can create a more graceful way to handle this.
Thanks.