A crafting-table is third-party for creating database functions of repository layer.
It uses sqlx
package to connect to database and querying to database.
You can install Crafting-Table
package by using this command:
go install github.com/snapp-incubator/crafting-table@latest
The command for creating functions is as below:
crafting-table manifest apply <manifest-file-path>
The manifest file is a yaml file that contains the information about the functions that you want to create.
You can find more details about the manifest file in here.
Query builder generator will generate a fully featured query builder based on your code base. You can find more details about Query Builder Generator
in here
You can contribute to improving this tool by sending pull requests or issues on GitHub.
Please send us your feedback. Thanks!