flagx
go-mockgen
flagx | go-mockgen | |
---|---|---|
1 | 3 | |
7 | 57 | |
- | - | |
10.0 | 5.6 | |
almost 2 years ago | 2 months 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.
flagx
go-mockgen
-
Is there a mock library works with generics?
https://github.com/derision-test/go-mockgen, we use this widely at work
-
Libraries you use most of your projects?
https://github.com/derision-test/go-mockgen for generating mocks for interfaces, for those that use dependency injection. By far the best mock generator, especially compared to the relatively bad official one, or anything that requires passing method names as strings...
-
What are your favorite packages to use?
https://github.com/derision-test/go-mockgen for the best mocks Ive ever had in Go https://github.com/go-chi/chi for HTTP routing
What are some alternatives?
viper - Go configuration with fangs
ginkgo - A Modern Testing Framework for Go
gqlgen - go generate based graphql server library
pggen - Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
go-testdeep - Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
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.
httpretry - Enriches the standard go http client with retry functionality.
logrus - Structured, pluggable logging for Go.
migrate - Database migrations. CLI and Golang library.
httprouter - A high performance HTTP request router that scales well
sqlc - Generate type-safe code from SQL
go-wiki - This is a Golang open-source module that makes it easy to access and parse data from Wikipedia (Wikipedia API wrapper)