This commit is contained in:
Frans Kaashoek
2024-01-24 19:52:34 -05:00
commit 2a2f885c59
71 changed files with 78417 additions and 0 deletions

12
src/raft/util.go Normal file
View File

@@ -0,0 +1,12 @@
package raft
import "log"
// Debugging
const Debug = false
func DPrintf(format string, a ...interface{}) {
if Debug {
log.Printf(format, a...)
}
}