gocc/print.go

19 lines
243 B
Go
Raw Normal View History

2022-08-17 20:37:12 +02:00
package main
import (
"fmt"
"os"
)
func Println(args ...interface{}) {
if !*Silent {
fmt.Fprintln(os.Stderr, args...)
}
}
func Printf(format string, args ...interface{}) {
if !*Silent {
fmt.Fprintf(os.Stderr, format, args...)
}
}