Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddlet2666 committed Apr 15, 2024
1 parent 6acefe5 commit 585dd4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file removed clients/go/go-demo
Binary file not shown.
4 changes: 2 additions & 2 deletions clients/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func addTrades(trades coherence.NamedCache[string, Trade], prices coherence.Name
// add using efficient PuAll
buffer := make(map[string]Trade, 0)

fmt.Printf("Adding %d random trades for %s...\n", count, symbol)
log.Printf("Adding %d random trades for %s...\n", count, symbol)

for i := 0; i < count; i++ {
trade := newTrade(symbol, rand.Intn(1000)+1, currentPrice.Price)
Expand All @@ -210,7 +210,7 @@ func addTrades(trades coherence.NamedCache[string, Trade], prices coherence.Name

size, err := trades.Size(ctx)
if err == nil {
fmt.Printf("Trades cache size is now %d\n", size)
log.Printf("Trades cache size is now %d\n", size)
fmt.Println()
}

Expand Down

0 comments on commit 585dd4d

Please sign in to comment.