1
0
mirror of https://github.com/strongdm/comply synced 2024-11-17 13:24:53 +00:00
comply/vendor/github.com/aktau/github-release/github/debug.go

23 lines
317 B
Go
Raw Normal View History

2019-07-14 16:51:10 +00:00
package github
import (
"fmt"
"os"
)
func vprintln(a ...interface{}) (int, error) {
if VERBOSITY > 0 {
return fmt.Fprintln(os.Stderr, a...)
}
return 0, nil
}
func vprintf(format string, a ...interface{}) (int, error) {
if VERBOSITY > 0 {
return fmt.Fprintf(os.Stderr, format, a...)
}
return 0, nil
}