aspectgo
Aspect-Oriented Programming framework for Go (by AkihiroSuda)
clock
Time mocking library for golang (by leononame)
aspectgo | clock | |
---|---|---|
2 | 1 | |
68 | 4 | |
- | - | |
0.0 | 10.0 | |
almost 8 years ago | almost 5 years ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | 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.
aspectgo
Posts with mentions or reviews of aspectgo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-16.
-
is there an easy (python like way) to do mocks?
But I don't think you can globally overwrite/shadow package methods the same way as in Python/JS/etc. It seems that you are looking for an AOP behavior and as far as I know there aren't many libraries for that in go (aspectgo is the first one that shows up, but it requires to run an additional command)
- Clean way to log entry/exit of all functiond
clock
Posts with mentions or reviews of clock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-16.
-
is there an easy (python like way) to do mocks?
I use a clock interface, and for testing it's https://github.com/leononame/clock to simulate sleeps and timers and such if needed.
What are some alternatives?
When comparing aspectgo and clock you can also consider the following projects:
monkey - Monkey patching in Go