sqlgen is a scaffolding tool that supports code generation from sql files and database links. Currently, it supports code generation from gorm, xorm, sqlx, sql, and bun. It is very easy to learn and use. GitHub https://github.com/anqiansong/sqlgen installation go install github.com/anqiansong/sqlgen@latest # Use example first with sql file and query statement as follows CREATE TABLE `user` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT primary key, `name` varchar…

#SQL #code #generation #tool #sqlgen

Leave a Comment

Your email address will not be published. Required fields are marked *