gongular
REST Layer
Our great sponsors
gongular | REST Layer | |
---|---|---|
2 | 1 | |
500 | 1,246 | |
- | - | |
1.8 | 0.0 | |
over 3 years ago | over 2 years ago | |
Go | Go | |
GNU General Public License v3.0 or later | 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.
gongular
-
Learning a new language, or how I gained familiarity with Go
I wish more people encouraged people new to Go to look at some of the targets you'll arrive at so that people don't come into Go thinking the end result is going to be using the Go version of Laravel, Spring, or Rails.
Go has some interesting ideas about models/ORM's, OpenAPI, validation, templates, embedded binary files and other things. When types mater, like in Go, code generation is often very important as well which isn't as common in scripting languages.
https://goa.design/ for grpc/rest servers based on specs
https://gokit.io/ for microservices
https://github.com/mustafaakin/gongular for object-based validation
https://sqlc.dev/ for generated models based on SQL (skip the whole idea of an ORM)
https://github.com/jmoiron/sqlx for more traditional object population from SQL
https://pkg.go.dev/errors for an understanding of wrapping errors and nested error causes
https://gqlgen.com/ for auto-generated revolvers based on GraphQL schemas
https://pkg.go.dev/io#Reader all the Reader/Writer/Closer's as they are everywhere since Go cares about performance and therefore streaming abilities. No more string passing.
REST Layer
-
Coming from PHP, looking for Go equivalent of PHPLeague's Fractal
Sounds like you might be looking for this thing I just found: https://github.com/rs/rest-layer
What are some alternatives?
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:
goa - 🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
Beego - beego is an open-source, high-performance web framework for the Go programming language.
go-kit - A standard library for microservices.
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.
go-server-timing - Go (golang) library for creating and consuming HTTP Server-Timing headers
go-fault - fault injection library in go using standard http middleware
GoSwagger - Swagger 2.0 implementation for go
go-json-rest - A quick and easy way to setup a RESTful JSON API
xujiajun/gorouter - xujiajun/gorouter is a simple and fast HTTP router for Go. It is easy to build RESTful APIs and your web framework.
chi - lightweight, idiomatic and composable router for building Go HTTP services
XFF - A Golang Middleware to handle X-Forwarded-For Header