Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run.
go get github.com/prashantv/gostubNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Stubs the timeNow function to return a fixed value and resets it after use.
No known issues recorded.
No dependency data recorded yet.