factory-go
gogo-factory | factory-go | |
---|---|---|
2 | 1 | |
14 | 361 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 year ago | |
Go | Go | |
GNU Lesser General Public License v3.0 only | 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.
gogo-factory
-
What are your favorite packages to use?
Are there people seek a fixture replacement package like factory_bot (a ruby gem)? I build a similar package (gogo-factory). It is helpful to setup test data.
-
Recommend a fixtures replacement (e.g ruby factory-bot) in Golang.
When I switch language from ruby to golang, I desired to have an alternative to factory-bot (a ruby gem). Therefore, I found the go-factory which can be used to build random object for testing. After using it for a while, I decide to build another fixtures replacement package which is gogo-factory.
factory-go
-
Recommend a fixtures replacement (e.g ruby factory-bot) in Golang.
When I switch language from ruby to golang, I desired to have an alternative to factory-bot (a ruby gem). Therefore, I found the go-factory which can be used to build random object for testing. After using it for a while, I decide to build another fixtures replacement package which is gogo-factory.
What are some alternatives?
sqlx - general purpose extensions to golang's database/sql
fixtory - Type-safe, DRY, flexible test fixture factory based on Go 1.18+ Generics
decimal - Arbitrary-precision fixed-point decimal numbers in Go
factory_bot - A library for setting up Ruby objects as test data.
chi - lightweight, idiomatic and composable router for building Go HTTP services
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
cli - GitHub’s official command line tool
testcraft - TestCraft is a Go library for setting up structs with test data in a type safe way
errors - Simple error handling primitives
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
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.
cobra - A Commander for modern Go CLI interactions