An project generator aimed to D.R.Y while creating new project based on DDD. visit https://github.com/leopku/luban for more details.
- Generate model layer(go struct files) from database
- MySQL
- PostgreSQL
- Sqlite3
- Generate repository layer
- Interface
- Implement CRUD
- squirrel with raw sql
- queryset with gorm
- DAO / ORM
- sqlx
- gorm
-
xorm
- Generate service layer
- Generate deliver layer
- RESTful deliver
- gin
- gofiber
- echo
- iris
- GraphQL deliver
- RESTful deliver
- Add go-swagger support
- Admin dashboard
This project was heavyly inspired by gen. And templates/mapping.json
was directly copied from gen project. Thanks you, @smallnest.
Thanks for this projects to build