Skip to content
/ luban Public

鲁班 A project generator aimed to D.R.Y while creating new project based on DDD.

License

Notifications You must be signed in to change notification settings

leopku/luban

Repository files navigation

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

About

鲁班 A project generator aimed to D.R.Y while creating new project based on DDD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages