mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
371 B
21 lines
371 B
package main |
|
|
|
import ( |
|
"fmt" |
|
"os" |
|
"strings" |
|
) |
|
|
|
func stderr(format string, args ...interface{}) { |
|
if !strings.HasSuffix(format, "\n") { |
|
format = format + "\n" |
|
} |
|
fmt.Fprintf(os.Stderr, format, args...) |
|
} |
|
|
|
func stdout(format string, args ...interface{}) { |
|
if !strings.HasSuffix(format, "\n") { |
|
format = format + "\n" |
|
} |
|
fmt.Fprintf(os.Stdout, format, args...) |
|
}
|
|
|