Popularity
2.5
Stable
Activity
3.6
Stable
36
4
5
Programming language: Go
License: MIT License
Tags:
Web Frameworks
Latest version: v0.13.0
goweb alternatives and similar packages
Based on the "Web Frameworks" category.
Alternatively, view goweb alternatives based on common mentions on social networks and blogs.
-
Gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. -
Iris
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket: -
Gorilla WebSocket
DISCONTINUED. A fast, well-tested and widely used WebSocket implementation for Go. -
GoFr
An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability. -
goa
Design-first Go framework that generates API code, documentation, and clients. Define once in an elegant DSL, deploy as HTTP and gRPC services with zero drift between code and docs. -
Huma
A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema. -
Faygo
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc. -
go-server-timing
DISCONTINUED. Go (golang) library for creating and consuming HTTP Server-Timing headers -
golongpoll
golang long polling library. Makes web pub-sub easy via HTTP long-poll servers and clients :smiley: :coffee: :computer:
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
Promo
influxdata.com

Do you think we are missing an alternative of goweb or a related project?
Popular Comparisons
README
Goweb
Light weight web framework based on net/http.
Includes
- routing
- middleware
- logging
Goweb aims to
- rely only on the standard library as much as possible
- be flexible
- perform well
Usage
See examples.
Basic usage
package main
import (
"github.com/twharmon/goweb"
)
func main() {
app := goweb.New()
app.GET("/hello/{name}", hello)
app.Run(":8080")
}
func hello(c *goweb.Context) goweb.Responder {
return c.JSON(goweb.Map{
"hello": c.Param("name"),
})
}
Easily extendable
See serving files, template rendering, and tls for examples.
Documentation
For full documentation see pkg.go.dev.
Benchmarks
BenchmarkGinPlaintext 780 ns/op 1040 B/op 9 allocs/op
BenchmarkEchoPlaintext 817 ns/op 1024 B/op 10 allocs/op
BenchmarkGowebPlaintext 1241 ns/op 1456 B/op 16 allocs/op
BenchmarkGorillaPlaintext 1916 ns/op 2032 B/op 19 allocs/op
BenchmarkMartiniPlaintext 14448 ns/op 1779 B/op 36 allocs/op
BenchmarkGowebJSON 60042 ns/op 50798 B/op 15 allocs/op
BenchmarkGorillaJSON 61086 ns/op 51330 B/op 18 allocs/op
BenchmarkEchoJSON 61115 ns/op 50280 B/op 10 allocs/op
BenchmarkGinJSON 68322 ns/op 100116 B/op 10 allocs/op
BenchmarkMartiniJSON 96365 ns/op 144335 B/op 38 allocs/op
BenchmarkGinPathParams 2464 ns/op 1952 B/op 27 allocs/op
BenchmarkEchoPathParams 2600 ns/op 1968 B/op 27 allocs/op
BenchmarkGowebPathParams 3591 ns/op 2673 B/op 35 allocs/op
BenchmarkGorillaPathParams 4220 ns/op 3265 B/op 36 allocs/op
BenchmarkMartiniPathParams 15211 ns/op 2657 B/op 45 allocs/op
Contribute
Create a pull request to contribute to Goweb.