Our great sponsors
-
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).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
pcopy
pcopy is a temporary file host, nopaste and clipboard across machines. It can be used from the Web UI, via a CLI or without a client by using curl.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
grpc-gateway-boilerplate
All the boilerplate you need to get started with writing grpc-gateway powered REST services in Go
I have attempted to create such a framework, Prudence, for the general use case of data-backend-based web applications and APIs. It does a lot of the heavy lifting of keeping server-side caches and client-side caches consistent, though you will need to design your resource well to reap the benefits.
I've been using https://github.com/bnkamalesh/webgo for all my projects. Also, I follow https://github.com/bnkamalesh/goapp to organize code
I've been using https://github.com/bnkamalesh/webgo for all my projects. Also, I follow https://github.com/bnkamalesh/goapp to organize code
The most recent one is this: https://github.com/binwiederhier/ntfy (see server.go)
And another one here:https://github.com/binwiederhier/pcopy (same, see server.go)
You have things like https://github.com/go-swagger/go-swagger. Where the generated code is not 100% vanilla, not ideal.
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.
Source: https://github.com/k4ds3/plavatar (screenshots in readme)
I found that using gRPC-gateway is a really simple way to implement both a gRPC and REST server from one common set of code. The tooling can even generate Swagger docs for you. Here's an example repo: https://github.com/johanbrandhorst/grpc-gateway-boilerplate
I found that using gRPC-gateway is a really simple way to implement both a gRPC and REST server from one common set of code. The tooling can even generate Swagger docs for you. Here's an example repo: https://github.com/johanbrandhorst/grpc-gateway-boilerplate