Top 4.7% dependent repos on proxy.golang.org
proxy.golang.org : github.com/rmasci/verbose
Package verbose provides a simple package to allow for printing out messages that help you show the flow of how your program works. And you don't have to remove them. Just implement it as a 'flag': verb:=verbose.New() flag.BoolVar(&verb.V, "v", false, "Verbose mode" Then in your code you can put in your code: func main() { ...code... verb.Println("Database Query:",query) ... code ... verb.Println("Calculating world peace -- this could take some time.", worldPeace) You can leave this in your code, hide that there is a -v option if you want to. But the result is that when things go wrong and inevitably things go wrong, you can see the flow of your program. For information about UTF-8 strings in Go, see https://blog.golang.org/strings.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/rmasci/verbose
License: MIT
Latest release: over 1 year ago
First release: over 2 years ago
Namespace: github.com/rmasci
Dependent packages: 1
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago