aboutsummaryrefslogtreecommitdiff
path: root/db.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-02-02 09:11:18 -0700
committerBen Johnson <benbjohnson@yahoo.com>2015-02-02 09:11:18 -0700
commitb8dbe1101d74c30e817227a99716591e3e6e6bc4 (patch)
tree77171972193974206272a59b89140ef048c3a7f1 /db.go
parentMerge pull request #294 from benbjohnson/assert (diff)
parentPersist sequence-only changes. (diff)
downloaddedo-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.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/db.go b/db.go
index ae135ef..773620d 100644
--- a/db.go
+++ b/db.go
@@ -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")