go-concurrency-exercises
Hands on exercises with real-life examples to study and practice Go concurrency patterns. Test-cases are provided to verify your answers. (by loong)
moq
Interface mocking tool for go generate (by matryer)
go-concurrency-exercises | moq | |
---|---|---|
9 | 16 | |
934 | 1,769 | |
- | - | |
5.3 | 3.6 | |
4 months ago | 21 days ago | |
Go | Go | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
go-concurrency-exercises
Posts with mentions or reviews of go-concurrency-exercises.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-13.
- Sharing array between goroutines
-
Help with first concurrent execise
I have started to try to learn concurrency in Go. I have read this and now started to try to solve this one
- Go Concurrency Exercises
- Understanding concurrency mutexes
-
Best way to practice concurrency in go?
Try these maybe? They’re not too hard but make you exercise different concurrency primitives.
- What Knowledge Golang Back End Developer Should Have?
moq
Posts with mentions or reviews of moq.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-29.
- vektra/mockery has fully released the "packages" feature! This blog explains what it is and how it works.
- Why elixir over Golang
-
Is gomock still maintained and recommended?
``` https://github.com/matryer/moq
-
How do you write/generate mocks for testing?
Currently trying out https://github.com/matryer/moq for the first time, and quite positive so far. Haven't pushed it enough yet to give a real opinion.
-
gomock giving me a hard time
I like moq much better than gomock. Much simpler and easier to work with.
-
how to mock DBs
Just replaced mockery generated mocks with https://github.com/matryer/moq Alot cleaner imo at least for me
- Testify Mocking conundrums
-
Can someone please comment on this mock example from Jon Calhoun's post on DDD?
btw, you can avoid making such mocks manually by using https://github.com/matryer/moq, which will generate such mocking code for you
-
How do you control behaviour in mocked interface ?
I like the way of matryer/moq a lot. Basically, it generates a func for each of the methods of an interface, therefore the behaviour is clear to everyone without too much abstraction.
-
What mocking framework do you prefer?
This one is easy to use, simple, powerful and idiomatic https://github.com/matryer/moq
What are some alternatives?
When comparing go-concurrency-exercises and moq you can also consider the following projects:
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
gomock - GoMock is a mocking framework for the Go programming language.
zerolog - Zero Allocation JSON Logger
mockery - A mock code autogenerator for Go
GORM - The fantastic ORM library for Golang, aims to be developer friendly
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
golang-docker - Docker Official Image packaging for golang
NSubstitute - A friendly substitute for .NET mocking libraries.
bolt
counterfeiter - A tool for generating self-contained, type-safe test doubles in go
minimock - Powerful mock generation tool for Go programming language
go-concurrency-exercises vs developer-roadmap
moq vs gomock
go-concurrency-exercises vs zerolog
moq vs mockery
go-concurrency-exercises vs GORM
moq vs Testify
go-concurrency-exercises vs golang-docker
moq vs NSubstitute
go-concurrency-exercises vs bolt
moq vs counterfeiter
moq vs GORM
moq vs minimock