Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 1.84 KB

README.md

File metadata and controls

62 lines (50 loc) · 1.84 KB

Luban(鲁班)

An project generator aimed to D.R.Y while creating new project based on DDD. visit https://github.com/leopku/luban for more details.

Get source code

Features

  • 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
  • Add go-swagger support
  • Admin dashboard

Special thanks

This project was heavyly inspired by gen. And templates/mapping.json was directly copied from gen project. Thanks you, @smallnest.

Credit

Thanks for this projects to build

Feedback&Issue

https://github.com/leopku/luban/issues