aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-03-28 12:08:49 -0500
committerAnthony Wang2022-03-28 12:08:49 -0500
commit5719668a81ac212720f6266e9bf184d318b36b3a (patch)
treecec6ff03fa648dbd90cce62e98b93987ee84e81b
parent4936d52dc5e2e0e76852a68758f772b12a543fad (diff)
Make more of the output debugging output
-rw-r--r--sd.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/sd.go b/sd.go
index 3f5f3ce..f466f6b 100644
--- a/sd.go
+++ b/sd.go
@@ -97,13 +97,14 @@ func main() {
for {
// Choose a random card
x := rand.Intn(sum)
+ w, i := s.query(x, 0, N-1, 1)
+
if *verbose {
fmt.Println(sum)
fmt.Println(x)
+ fmt.Println(w)
+ fmt.Println(i)
}
- w, i := s.query(x, 0, N-1, 1)
- fmt.Println(w)
- fmt.Println(i)
// Get card contents from database
var key, val string