Top 4.7% dependent repos on proxy.golang.org
proxy.golang.org : github.com/mutility/diag
Package diag contains interfaces and utility functions to ease production of diagnostics. Implementations are suggested to provide at least the methods of diag.Interface, as it will be common for entry points to receive a diag.Interface. Additional methods will be leveraged where available. Typical use in a function that wants to provide diagnostics looks like this: It's also okay to accept a diag.Debugger, diag.Errorer, or diag.Warninger when Foo and what it calls will use only use a subset of the capabilities. New() enables a trivial implementation around existing io.Writers, such as os.Stdout, os.Stderr, etc. This is useful for main or testing packages.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/mutility/diag
License: BSD-3-Clause
Latest release: about 4 years ago
First release: about 4 years ago
Namespace: github.com/mutility
Dependent packages: 1
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago