Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Fiber | 25,326 | 656 | 3 hours ago | 275 | September 08, 2022 | 39 | mit | Go | ||
⚡️ Express inspired web framework written in Go | ||||||||||
Echo | 25,256 | 1,606 | 2 days ago | 165 | September 04, 2022 | 63 | mit | Go | ||
High performance, minimalist Go web framework | ||||||||||
Iris | 23,753 | 320 | 4 days ago | 212 | September 21, 2022 | 82 | bsd-3-clause | Go | ||
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :leaves: :rocket: | 谢谢 | #Go | ||||||||||
Vapor | 22,621 | 3 days ago | November 16, 2021 | 107 | mit | Swift | ||||
💧 A server-side Swift HTTP web framework. | ||||||||||
Cowboy | 6,891 | 9,060 | 286 | 16 days ago | 23 | May 12, 2021 | 105 | isc | Erlang | |
Small, fast, modern HTTP server for Erlang/OTP. | ||||||||||
Andserver | 3,280 | 3 | 2 months ago | 18 | March 19, 2022 | 107 | apache-2.0 | Java | ||
:cherries: Web server and web framework of Android platform. | ||||||||||
Go Web Framework Stars | 2,952 | 7 days ago | 15 | April 25, 2021 | 18 | mit | Go | |||
:star: Web frameworks for Go, most starred on GitHub | ||||||||||
Tinyhttp | 2,408 | 31 | 12 days ago | 284 | September 15, 2022 | 8 | mit | TypeScript | ||
🦄 0-legacy, tiny & fast web framework as a replacement of Express | ||||||||||
Mojo | 2,376 | 192 | 564 | 9 days ago | 737 | September 12, 2022 | 69 | artistic-2.0 | Perl | |
:sparkles: Mojolicious - Perl real-time web framework | ||||||||||
Go Web Framework Benchmark | 1,836 | 18 days ago | 1 | February 14, 2021 | 18 | apache-2.0 | Go | |||
:zap: Go web framework benchmark |
Latest version of Echo supports last four Go major releases and might work with older versions.
As of version 4.0.0, Echo is available as a Go module. Therefore a Go version capable of understanding /vN suffixed imports is required:
Any of these versions will allow you to import Echo as github.com/labstack/echo/v4
which is the recommended
way of using Echo going forward.
For older versions, please use the latest v3 tag.
Date: 2020/11/11
Source: vishr/web-framework-benchmark
Lower is better!
The benchmarks above were run on an Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
// go get github.com/labstack/echo/{version}
go get github.com/labstack/echo/v4
package main
import (
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
"net/http"
)
func main() {
// Echo instance
e := echo.New()
// Middleware
e.Use(middleware.Logger())
e.Use(middleware.Recover())
// Routes
e.GET("/", hello)
// Start server
e.Logger.Fatal(e.Start(":1323"))
}
// Handler
func hello(c echo.Context) error {
return c.String(http.StatusOK, "Hello, World!")
}
Following list of middleware is maintained by Echo team.
Repository | Description |
---|---|
github.com/labstack/echo-jwt | JWT middleware |
github.com/labstack/echo-contrib | casbin, gorilla/sessions, jaegertracing, prometheus, pprof, zipkin middlewares |
Be careful when adding 3rd party middleware. Echo teams does not have time or manpower to guarantee safety and quality of middlewares in this list.
Repository | Description |
---|---|
deepmap/oapi-codegen | Automatically generate RESTful API documentation with OpenAPI Client and Server Code Generator |
github.com/swaggo/echo-swagger | Automatically generate RESTful API documentation with Swagger 2.0. |
github.com/ziflex/lecho | Zerolog logging library wrapper for Echo logger interface. |
github.com/brpaz/echozap | Uber´s Zap logging library wrapper for Echo logger interface. |
github.com/darkweak/souin/plugins/echo | HTTP cache system based on Souin to automatically get your endpoints cached. It supports some distributed and non-distributed storage systems depending your needs. |
github.com/mikestefanello/pagoda | Rapid, easy full-stack web development starter kit built with Echo. |
github.com/go-woo/protoc-gen-echo | ProtoBuf generate Echo server side code |
Please send a PR to add your own library here.
Use issues for everything