|15 days ago||2 days ago|
|Apache License 2.0||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.
Gerando mocks de interfaces no go!
2 projects | dev.to | 10 Nov 2021
What mocking framework do you prefer?
6 projects | reddit.com/r/golang | 23 Oct 2021
Gomock or mockery?6 projects | reddit.com/r/golang | 23 Oct 2021
I used to use Mockery, but it was unmaintained for a long time, and not that great, so these days it's Mock, which is nicer in several ways.
Mocking with High-Order Functions in Go
1 project | reddit.com/r/golang | 6 Aug 2021
Honestly curious - why wouldn't you use something like https://github.com/golang/mock to generate your mocks from an interface. Way more productive, consistent and cleaner. Spend more time and focus on your business logic rather than something that's already been solved.
Constructors: how to keep compatibility in a public API?
1 project | reddit.com/r/golang | 3 Aug 2021
Sorry for badly explaining. Issue explaining it better than me: https://github.com/golang/mock/issues/324
What are the most useful packages you know for Go?
15 projects | reddit.com/r/golang | 25 Jul 2021
https://github.com/golang/mock - Auto generate mocks from interfaces for unit testing
Flexible mocking for testing in Go (without using a framework)
3 projects | reddit.com/r/golang | 20 Jul 2021
BTW https://github.com/golang/mock is way more propular and does similar things.
My experience trying TDD for the first time in Go
1 project | dev.to | 27 May 2021
The first day, I wrote my tests for some GET routes. We use something called go-mock in our unit tests, which allows you to only focus on testing the function you're writing. Because of this, I found that you still needed to have a good idea of the code you want to write while writing out the tests. In our case, we needed to mock out our calls to an external API. If you asked for my opinion after the first day, I would've told you that I could envision the benefits of TDD for something like end to end testing, where it's a black box and you're only verifying that the output is what's expected from a given input. But for unit testing, it wasn't any different than just writing the code first.
Goreen tea : golang boilerplate for data-intensive microservice
3 projects | dev.to | 11 May 2021
Unit testing with go-mock
Debugging Go Microservices in Kubernetes with VScode
4 projects | dev.to | 9 Apr 2021
Sure, you can use unit tests with tools like GoMock and GoStub to simulate external dependencies or introduce synthetic data into the mix, but it still leaves you unsure if it will work with data from your actual services.
3 projects | dev.to | 1 Dec 2021
✅ Developed using modern stack - GoLang with high performant Gin Server - Exposes GraphQL API
4 Things to Consider When Choosing a Go API Framework
5 projects | dev.to | 16 Nov 2021
If however, the project maintainers don't seem to have a good rapport with the community, or they don't respond very often to issues or discussions, this could mean that you may find yourself waiting for an answer or bugfix to be merged should you choose that particular framework. GitHub's somewhat overlooked pulse view can help show how active a project is and how often issues are opened and closed.
Would it be better to use Frameworks or not ?
3 projects | reddit.com/r/golang | 25 Oct 2021
Check gin-gonic. This is a powerfull web framework written in go.
Which web framework to learn?
6 projects | reddit.com/r/golang | 20 Oct 2021
https://github.com/gin-gonic/gin has worked fine for me for years in prod. It has a decent enough API, and has never been the bottleneck.
Blog Post Topic idea?
1 project | reddit.com/r/scala | 7 Oct 2021
Exposing custom prometheus metrics with dynamic labels in gin framework
3 projects | dev.to | 17 Sep 2021
We will be using golang, gin, prometheus go library to expose last request time metrics
Go'ing Insane: Endless Error Handling
5 projects | reddit.com/r/programming | 14 Sep 2021
ASP.NET is a framework. Getting equivalent behavior in go with a similar framework is trivial. For example, using gin-gonic it's just r.Use(gin.Recovery()) for an arbitrary router r. Needless to say it allows logging too.
Deploy a RESTful Go API with Gin on Koyeb
1 project | dev.to | 24 Aug 2021
Gin is a web framework written in Go focusing on performance. It provides an elegant way to write web applications and microservices and comes with a set of commonly used primitives like routing, middleware, rendering, and more.
Golang MVC Fiber vs others
1 project | reddit.com/r/golang | 19 Aug 2021
Gin has similar helpers, while staying on net/http.
What are your favorite packages to use?
55 projects | reddit.com/r/golang | 15 Aug 2021
This has been fixed in Gin v1.7.2.
What are some alternatives?
Echo - High performance, minimalist Go web framework
Fiber - ⚡️ Express inspired web framework written in Go
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
Beego - beego is an open-source, high-performance web framework for the Go programming language.
chi - lightweight, idiomatic and composable router for building Go HTTP services
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 |
Revel - A high productivity, full-stack web framework for the Go language.
go-kit - A standard library for microservices.
fasthttprouter - A high performance fasthttp request router that scales well
httprouter - A high performance HTTP request router that scales well
Buffalo - Rapid Web Development w/ Go
negroni - Idiomatic HTTP Middleware for Golang