19 lines
243 B
Go
19 lines
243 B
Go
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...)
|
|
}
|
|
}
|