system-posix-redirect
A toy module that allows you to temporarily redirect a program's stdout. (by liyang)
clock
Clock is a small library for mocking time in Go. (by benbjohnson)
Our great sponsors
system-posix-redirect | clock | |
---|---|---|
- | 2 | |
0 | 647 | |
- | - | |
0.0 | 7.7 | |
over 5 years ago | 12 months ago | |
Haskell | 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.
system-posix-redirect
Posts with mentions or reviews of system-posix-redirect.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning system-posix-redirect yet.
Tracking mentions began in Dec 2020.
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 2023-05-18.
- benbjohnson/clock (time mocking) is now archived
-
The Pocket Guide to Debugging
I recently discovered the joy of abstracting away time. I write a lot of software in Go for work. This library, https://github.com/benbjohnson/clock, provides a Clock interface that can be used for creating either clocks with the same interface as the standard "time" module, or to create a mock clock that increments to the next tick on any and all tickers defined in the app. It really makes unit tests go faster, though it can be tricky to get the code right.
What are some alternatives?
When comparing system-posix-redirect and clock you can also consider the following projects:
bench - Command-line benchmark tool
nix-diff - Explain why two Nix derivations differ
process - Library for dealing with system processes
xmobar - A minimalistic status bar
clock - High-resolution clock functions: monotonic, realtime, cputime.
scp-streams - An SCP protocol implementation
optparse-applicative - Applicative option parser
teardown - Composable, idempotent & transparent application resource cleanup sub-routines