summaryrefslogtreecommitdiff
path: root/example/stdlib
diff options
context:
space:
mode:
authorChris Nobody <[email protected]>2021-04-06 14:23:51 +0300
committerChris Nobody <[email protected]>2021-04-06 14:23:51 +0300
commite203f94963fb806fd8c7cc2339b96d458f84766e (patch)
treefebc157f142baa89fe8ae5466a4ff0ad990417ec /example/stdlib
parenta2c2f61e14485dafe98feb0613528a633a04e835 (diff)
gocomplete: suppress error output by default
Prevent the Go command completion from jumbling up the shell prompt on errors by setting the Writer of the standard lib default log.Logger to ioutil.Discard unless the system environment variable `GOCOMP_VERBOSE` has been explicitly set to "1" (e.g. for debugging purposes). Fixes #139
Diffstat (limited to 'example/stdlib')
0 files changed, 0 insertions, 0 deletions