An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/lestrrat-go/pdebug

Package pdebug provides tools to produce debug logs the way the author (Daisuke Maki a.k.a. lestrrat) likes. All of the functions are no-ops unless you compile with the `-tags debug` option. When you compile your program with `-tags debug`, no trace is displayed, but the code enclosed within `if pdebug.Enabled { ... }` is compiled in. To show the debug trace, set the PDEBUG_TRACE environment variable to true (or 1, or whatever `strconv.ParseBool` parses to true) If you want to show the debug trace regardless of an environment variable, for example, perhaps while you are debugging or running tests, use the `-tags debug0` build tag instead. This will enable the debug trace forcefully

Ecosystem
proxy.golang.org
Versions
0
Dependent Packages
85
Dependent Repos
287
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/lestrrat-go/pdebug
spec
License MIT
Namespace github.com/lestrrat-go
Last Synced 16 days ago
Repository
Stars 17 on GitHub
Forks 1 on GitHub
Docker Dependents 3
Docker Downloads 74
Rankings on proxy.golang.org
Overall Top 5.0%
Dependent packages Top 0.5%
Dependent repos Top 0.4%
Docker downloads Top 2.1%