trinitygo
trinitygo copied to clipboard
golang framework for grpc , http ,IOC ,DI, spring, unittest
trinitygo
golang restframework plugin with gin+gorm, fast and high scalable
Installation
$ go get github.com/PolarPanda611/trinitygo/trinitygo
$ trinitygo NewHttp [Your Project Name]
$ cd [Your Project Name]
$ trinitygo NewCrud [Your Model Name]
$ swag init
// start your journey in Trinity
// you can check the demo under example folder
Overview
- Declarative router
- IOC container & Dependency Injection
- customize middleware
- customize runtime (Tracing Analysis, user authentication , event bus ...)
- support atomic request
- support customize validator ( API permission , data validation ...)
- support URL query analyze (search , filter , order by , preload ...)
- integrate gorm
- integrate gin
Getting Started
- Trinity Guides wiki
Contributing
Feel free to create the Issue and PR . We need your help !