https://github.com/clevergo/clevergo
:tongue: CleverGo is a lightweight, feature rich and high performance HTTP router for Go.
https://github.com/clevergo/clevergo
api fast golang high-performance httprouter middleware rest-api restful restful-api router routing web-framework
Last synced: 20 days ago
JSON representation
:tongue: CleverGo is a lightweight, feature rich and high performance HTTP router for Go.
- Host: GitHub
- URL: https://github.com/clevergo/clevergo
- Owner: clevergo
- License: mit
- Archived: true
- Created: 2016-11-10T05:32:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T11:02:21.000Z (almost 4 years ago)
- Last Synced: 2025-04-25T02:03:55.060Z (28 days ago)
- Topics: api, fast, golang, high-performance, httprouter, middleware, rest-api, restful, restful-api, router, routing, web-framework
- Language: Go
- Homepage: https://clevergo.tech
- Size: 302 KB
- Stars: 246
- Watchers: 27
- Forks: 46
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - CleverGo
README
# CleverGo
[](https://travis-ci.com/clevergo/clevergo)
[](https://coveralls.io/github/clevergo/clevergo)
[](https://goreportcard.com/report/github.com/clevergo/clevergo)
[](https://pkg.go.dev/clevergo.tech/clevergo?tab=doc)
[](https://github.com/clevergo/clevergo/releases)
[](https://pkg.clevergo.tech/clevergo.tech/clevergo)
[](https://t.me/clevergotech)
[](https://forum.clevergo.tech)CleverGo is a lightweight, feature rich and trie based high performance HTTP request router.
```shell
go get -u clevergo.tech/clevergo
```- [English](https://clevergo.tech/en/)
- [简体中文](https://clevergo.tech/zh/)[](https://clevergo.tech/docs/benchmark)
## Features
- **Full features of HTTP router**.
- **High Performance:** extremely fast, see [Benchmark](https://clevergo.tech/docs/benchmark).
- **Gradual learning curve:** you can learn the entire usages by going through the [documentation](#documentation) in half an hour.
- **[Reverse Route Generation](https://clevergo.tech/docs/routing/url-generation):** allow generating URLs by named route or matched route.
- **[Route Group](https://clevergo.tech/docs/routing/route-group):** as known as subrouter.
- **Friendly to APIs:** it is easy to design RESTful APIs and versioning your APIs by route group.
- **[Middleware](https://clevergo.tech/docs/middleware):** plug middleware in route group or particular route, supports global middleware as well. Compatible with most of third-party middleware.
- **[Logger](https://clevergo.tech/docs/logger):** a generic logger interface, supports [zap](https://github.com/uber-go/zap) and [logrus](http://github.com/sirupsen/logrus). Logger can be used in middleware or handler.
- ...## Examples
Checkout [example](https://github.com/clevergo/examples) for details.
## Contribute
Contributions are welcome.
- Star it and spread the package.
- [File an issue](https://github.com/clevergo/clevergo/issues/new) to ask questions, request features or report bugs.
- Fork and make a pull request.
- Improve [documentations](https://github.com/clevergo/website).## Credit
See [CREDIT.md](CREDIT.md).