/clevergo

:zap: CleverGo is a lightweight, feature rich and high performance HTTP router for Go.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

CleverGo

Build Status Go Report Card GoDoc Release Sourcegraph

CleverGo is a lightweight, feature rich and trie based high performance HTTP request router.

Documentation

Features

  • High Performance: extremely fast, see Benchmark.
  • Gradual learning curve: you can learn the entire usages by going through the documentation in half an hour.
  • Reverse Route Generation: allow generating URLs by named route or matched route.
  • Route Group: as known as subrouter.
  • Friendly to APIs: it is easy to design RESTful APIs and versioning your APIs by route group.
  • Middleware: plug middleware in route group or particular route, supports global middleware as well. Compatible with most of third-party middleware.
  • Error Handler: record error and format error response.

Benchmark

Contribute

Contributions are welcome.

  • Give it a ⭐ and spread the package.
  • File an issue to ask questions, request features or report bugs.
  • Fork and make a pull request.
  • Improve documentations.

Contributors

This project exists thanks to all the people who contribute.

Credit

See CREDIT.md.