1
0
mirror of https://github.com/strongdm/comply synced 2024-08-30 10:53:34 +00:00
comply/vendor/github.com/aktau/github-release/github/debug.go
2019-07-14 13:51:10 -03:00

23 lines
317 B
Go

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
}