diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-08 08:06:17 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-08 08:06:17 -0700 |
commit | ebc9f0da9e0d2fe90a4f9a820114d462fdf13178 (patch) | |
tree | 287fb8791e03a70d5959c12dabab4bb25766d713 /warn.go | |
parent | NOTES (diff) | |
download | dedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.gz dedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.xz |
Basic types.
Diffstat (limited to 'warn.go')
-rw-r--r-- | warn.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +package bolt + +import ( + "fmt" + "os" +) + +func warn(v ...interface{}) { + fmt.Fprintln(os.Stderr, v...) +} + +func warnf(msg string, v ...interface{}) { + fmt.Fprintf(os.Stderr, msg, v...) +} |