• This repository has been archived on 23/Dec/2023
  • Stars
    star
    250
  • Rank 156,451 (Top 4 %)
  • Language
    Go
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

CleverGo

Build Status Coverage Status Go Report Card Go.Dev reference Release Downloads Chat Community

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

go get -u clevergo.tech/clevergo

Benchmark

Features

  • Full features of HTTP router.
  • 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.
  • Logger: a generic logger interface, supports zap and logrus. Logger can be used in middleware or handler.
  • ...

Examples

Checkout example for details.

Contribute

Contributions are welcome.

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

Credit

See CREDIT.md.

More Repositories

1

captchas

🎨 Base64 Captchas Manager, Drivers and Stores.
Go
28
star
2

form

ℹī¸ Decode request body of any types(xml, json, form, multipart form...) into a sctruct by same codebase.
Go
27
star
3

jsend

đŸ’¯ JSend's implementation writen in Go(golang)
Go
21
star
4

websocket

WebSocket package for Go(go programing language) fasthttp.
Go
10
star
5

i18n

🌐 Internationalization implemetation for golang
Go
9
star
6

middleware

A collection of HTTP middlewares for golang
Go
9
star
7

auth

🔒 Go HTTP Authentication Middleware
Go
8
star
8

sessions

fasthttp sessions package, this package has been moved to https://github.com/go-gem/sessions, please use the new package.
Go
8
star
9

log

Generic leveled logger interface and adapters.
Go
8
star
10

views

Templates/Views manager for html/template
Go
8
star
11

strutil

string utils for golang
Go
6
star
12

plugins

Go plugins manager
Go
6
star
13

jwt

JWT(JSON WEB TOKEN) package for Go(go programing language).
Go
6
star
14

docs

CleverGo official website and documentations.
HTML
6
star
15

captcha

image and voice captcha package for Go(go programing language) fasthttp
Go
6
star
16

pkg-template

golang package template.
5
star
17

tencentcaptcha

č…žčŽ¯éĒŒč¯į  Tencent Captcha
Go
5
star
18

log-zap

Logger adapter for zap.
Go
5
star
19

log-logrus

Logger adapter for logrus.
Go
5
star
20

users

Go
4
star
21

pagination

📑 Restful API Pagination
Go
4
star
22

jetrenderer

Renderer implementation of Jet template engine.
Go
4
star
23

authz

🛡ī¸ CleverGo Authorization Middleware
Go
3
star
24

osenv

An extensional OS environment variables helper for Go
Go
3
star
25

sqlex

SQLEX is extensions for database/sql and jmoiron/sqlx.
Go
3
star
26

authmiddleware

CleverGo Authenticator Middleware
Go
2
star
27

jetpackr

Jet Template Engine Packr Loader
Go
2
star
28

pprof

CleverGo pprof
Go
1
star
29

shields

Shields is a Go SDK for creating shields.io endpoint.
Go
1
star
30

jetsprig

Jet template engine functions.
Go
1
star
31

mailx

Mailer
Go
1
star
32

dnspodcn

DNSPod.cn Go SDK and DNS Provider
Go
1
star
33

i18nmiddleware

CleverGo I18N Middleware
Go
1
star
34

jsend-example

Go
1
star