|4 days ago||4 days ago|
|MIT License||BSD 3-clause "New" or "Revised" 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.
Build a REST API with Golang and MongoDB - Echo Version
1 project | dev.to | 2 Jan 2022
This post will discuss building a user management application with Golang using the Echo framework and MongoDB. At the end of this tutorial, we will learn how to structure an Echo application, build a REST API and persist our data using MongoDB.
Simple REST API in Golang on Contact (non persistent and no authentication)
3 projects | dev.to | 2 Jan 2022
We usually look for web frameworks if we want to build REST APIs, in case of Golang, we have echo, gin, fibre, etc.
Ruby on Rails dev here! Go feature question.
4 projects | reddit.com/r/golang | 9 Dec 2021
Telegram Bot Gateway project
2 projects | reddit.com/r/golang | 8 Dec 2021
It's basically a simplified reverse-proxy configurable via a YAML file which redirects requests to the configured webhook URLs allowing you to host multiple Telegram bots in the same HTTP port. It uses Echo as the webserver.
Which web framework would you recommend?
4 projects | reddit.com/r/golang | 3 Dec 2021
https://echo.labstack.com is fantastic
Help a Go Lang neophyte become a veteran
2 projects | reddit.com/r/golang | 1 Dec 2021
Geofence your self-hosted API's
6 projects | dev.to | 27 Nov 2021
Since I'm using echo as the web framework to control my decorations, I was able to implement some pretty simple middleware that rejects POST requests from IP addresses that aren't within close proximity to mine with a 403 status code.
Ask HN: Simplest stack to build web apps in 2021?
17 projects | news.ycombinator.com | 22 Nov 2021
For backend I'd say -> Golang, PostgreSQL, Redis. I've just worked with Vue.js but I've seen some of the React codebases and don't really appreciate that complexity. Vue does a far better job and simplifying things.
With Golang, you actually don't need a mega framework to get started, you can use small libraries that will do the job for you without doing any magic behind the scenes. (Like, for sure you can use echo but you would probably be happy with mux and it's middlewares itself). And it's not uncommon in Go codebases to repeat yourself. I'd argue that's a much better paradigm than polluting your codebase with 10k indirect dependencies, the garbage that is the Node.js ecosystem.
4 Things to Consider When Choosing a Go API Framework
5 projects | dev.to | 16 Nov 2021
This can be extremely helpful if you just want to get going and start writing the business logic of your application without having to worry about some of these implementation details however it does come with a price: you're mostly stuck with the framework's choices. Don't like the way that echo formats logs? Tough. Want to use a different router than the one chosen by buffalo? Good Luck.
Would it be better to use Frameworks or not ?
3 projects | reddit.com/r/golang | 25 Oct 2021
I tried once to only use the standard library for a REST-like api and ended removing all that code and replacing it with a framework (Echo in my case) once i noticed that all that those thousands lines of code that i wrote to handle errors, requests, responses, validations, etc were almost the same to the ones you could find it those frameworks.
Build a REST API with Golang and MongoDB - Gin-gonic Version
3 projects | dev.to | 2 Jan 2022
Gin-gonic, popularly known as Gin, is an HTTP web framework written in Golang with performance and productivity support. Gin uses a custom version of HttpRouter, a lightweight, high-performance HTTP request router that navigates through API routes faster than most frameworks out there.
What framework do you use at work for web dev?
7 projects | reddit.com/r/golang | 30 Dec 2021
At work for a real-time bidding system in programmatic advertising we use https://github.com/julienschmidt/httprouter
Swagger-UI gives a 404 not found error when using Julien Schmidt's HTTP router
1 project | reddit.com/r/golang | 27 Oct 2021
I'm trying to set up the swagger using julien schmidt's HTTP router, but the setup returns a 404 Error Not Found every time. Anything that I'm missing out on here. Link to the router: https://github.com/julienschmidt/httprouter
1 project | reddit.com/r/devopskhan | 27 Oct 2021
BunRouter: Zero allocations HTTP router for Go
2 projects | reddit.com/r/golang | 7 Oct 2021
As for the first question, see https://github.com/julienschmidt/httprouter/issues/73 and the lack of middlewares.
Go for Backend development
4 projects | reddit.com/r/golang | 6 Sep 2021
Pass on the frameworks at first. just use the std library's net/http package and maybe a really basic router like julien schmidt's httprouter(https://github.com/julienschmidt/httprouter) to do your requests and use pgx(https://github.com/jackc/pgx) for postrgres.
What are your favorite packages to use?
55 projects | reddit.com/r/golang | 15 Aug 2021
httprouter for routing. Several years ago (5 years ago maybe) when I started using Go, I always tried to use the best and fastest packages and this package boasts itself as the fastest router for Go. Fast forward to today, I'm not sure if it still the fastest around, but it's stable and I've never had issues with it, so I keep using it.
Noob here. Need recommendation for best REST API framework.
12 projects | reddit.com/r/golang | 19 Jul 2021
I use (and love) gorilla/mux as well as julienschmidt/httprouter. They are both on the "lightweight" end of the spectrum. Nothing (to my knowledge) beats the performance of julienschmidt/httprouter, but routing isn't going to be your main bottleneck anyway, so I don't think it matters too much. If you wanted to get started with gorilla, gowebexamples.com is a nice starting point.
What's your favourite (go) web framework?
5 projects | reddit.com/r/golang | 13 Jun 2021
For me, the middle ground is best, chi, gin, httprouter are the sweetspot. But that's based on skills, style, and requirements (and experience - I've used all the ones I have mentioned in anger)
Networking with go
2 projects | reddit.com/r/golang | 3 Apr 2021
What are some alternatives?
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.
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
chi - lightweight, idiomatic and composable router for building Go HTTP services
Fiber - ⚡️ Express inspired web framework written in Go
Iris - The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Beego - beego is an open-source, high-performance web framework for the Go programming language.
go-kit - A standard library for microservices.
Revel - A high productivity, full-stack web framework for the Go language.
Buffalo - Rapid Web Development w/ Go
fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http