... Your script should be a command-line program of the following form:
crud_code_generator db_file config_filename table1 [table2 ... tableX]
db_file is a sqlite3 database file. table1 ... tableX are tables defined in the sqlitedb that your code generator should create API endpoints for.
The generated code must compile into a web server that will server the required JSON API endpoints (e.g. tableList, tableCreate, tableUpdate and tableDelete) for each table.
... This should be a very simple / fast project that only requires a few lines of code to query the database's data dictionary and then using the results, substitute some values into some code templates and save those into compilable go code.