diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-02-02 09:11:18 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-02-02 09:11:18 -0700 |
commit | b8dbe1101d74c30e817227a99716591e3e6e6bc4 (patch) | |
tree | 77171972193974206272a59b89140ef048c3a7f1 /db.go | |
parent | Merge pull request #294 from benbjohnson/assert (diff) | |
parent | Persist sequence-only changes. (diff) | |
download | dedo-b8dbe1101d74c30e817227a99716591e3e6e6bc4.tar.gz dedo-b8dbe1101d74c30e817227a99716591e3e6e6bc4.tar.xz |
Merge pull request #297 from benbjohnson/seq
Persist sequence-only changes
Diffstat (limited to 'db.go')
-rw-r--r-- | db.go | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -694,13 +694,8 @@ func _assert(condition bool, msg string, v ...interface{}) { } } -func warn(v ...interface{}) { - fmt.Fprintln(os.Stderr, v...) -} - -func warnf(msg string, v ...interface{}) { - fmt.Fprintf(os.Stderr, msg+"\n", v...) -} +func warn(v ...interface{}) { fmt.Fprintln(os.Stderr, v...) } +func warnf(msg string, v ...interface{}) { fmt.Fprintf(os.Stderr, msg+"\n", v...) } func printstack() { stack := strings.Join(strings.Split(string(debug.Stack()), "\n")[2:], "\n") |