there
go-japi
there | go-japi | |
---|---|---|
6 | 4 | |
41 | 17 | |
- | - | |
0.0 | 1.8 | |
over 1 year ago | almost 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.
there
-
What's the reason behind the design decision to not return a response value from handlers?
I think its quite useful, so I will share it if anyone is interested. https://github.com/Gebes/there/tree/v2.2
-
Feedback/Review/Proofreading needed
I don't expect anyone to take the time and thoroughly look through EVERYTHING, but it would be nice if someone at least looked through a single file like https://github.com/Gebes/there/blob/v2.2/path.go
-
Show me your REST APIs 😊
I created my own framework called There. If you like to, you can check out some examples here. However, I haven't made any complete APIs using it public yet.
-
Clean router with easy control flow
Of course it is completely open source: https://github.com/Gebes/there/
-
Best open source projects to start contibuting
Hi! I am working on a Router which takes a different approach. I would love to see you contributing to it (github.com/Gebes/there). I am always open to new great ideas. Feel free to contact me on Discord.
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.
What are some alternatives?
WebGo - A microframework to build web apps; with handler chaining, middleware support, and most of all; standard library compliant HTTP handlers(i.e. http.HandlerFunc).
flamego - A fantastic modular Go web framework with a slim core but limitless extensibility
prudence - An opinionated lightweight web framework built for scale
Macaron - Package macaron is a high productive and modular web framework in Go.
goMirror - Web remote control, written in Go
connect-go - Moved to https://github.com/connectrpc/connect-go
goapp - An opinionated guideline to structure & develop a Go web application/service
grpc-gateway - gRPC to JSON proxy generator following the gRPC HTTP spec
plavatar - placeholder + avatar = plavatar - a go library
go-respond - A Go package for handling common HTTP JSON responses.
ntfy - Send push notifications to your phone or desktop using PUT/POST
chi - lightweight, idiomatic and composable router for building Go HTTP services