
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
github.com/dwburke/go-func-timer
Advanced tools
golang function timer - taken from https://coderwall.com/p/cp5fya/measuring-execution-time-in-go
The author of that helpful article did not include a repo to pull it in as a package, which I felt would be useful, so I created this, buf full credit goes to the original author.
Copied example:
func factorial(n *big.Int) (result *big.Int) {
defer exectimer.Track(time.Now(), "factorial")
// ... do some things, maybe even return under some condition
return n
}
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.