go-japi
go-respond
go-japi | go-respond | |
---|---|---|
4 | - | |
17 | 53 | |
- | - | |
1.8 | 0.0 | |
almost 2 years ago | over 2 years ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-japi
-
What's the reason behind the design decision to not return a response value from handlers?
Check out https://github.com/jarrettv/go-japi if you are building a JSON HTTP API. Also `go-don` is faster and supports other encoding formats.
-
Is it possible to write a well-typed controller/handler in Go?
go-japi and go-don are two small libraries that will do what you want.
-
Connect, a better gRPC
The generic request and response wrappers seem interesting but they do tend to make the handler signature very verbose with little upside. For example: `type Handle[T any, O any] func(ctx context.Context, request T) (O, error)` would be really sweet. See go-japi for example.
-
japi is a JSON HTTP API go library with generics
Japi is a fork and simplification of another library. The upstream library go-don adopted fasthttp and our use case needed to stay on standard net/http.
go-respond
We haven't tracked posts mentioning go-respond yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
flamego - A fantastic modular Go web framework with a slim core but limitless extensibility
shadify - 🧩 Powerful HTTP API for building puzzles
Macaron - Package macaron is a high productive and modular web framework in Go.
goreporter - A Golang tool that does static analysis, unit testing, code review and generate code quality report.
there - ⚡️ Robust Web Framework to build Go Services
mmake - Modern Make
connect-go - Moved to https://github.com/connectrpc/connect-go
pgo - Go library for PHP community with convenient functions
grpc-gateway - gRPC to JSON proxy generator following the gRPC HTTP spec
tome - Package tome was designed to paginate simple RESTful APIs.
chi - lightweight, idiomatic and composable router for building Go HTTP services