Skip to content

Commit c0e6c4f

Browse files
Merge pull request #283 from lewislbr/master
Correct Go variable casing
2 parents 02ec3bd + cf5263e commit c0e6c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/worker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ func main() {
5656
go func() {
5757
for d := range msgs {
5858
log.Printf("Received a message: %s", d.Body)
59-
dot_count := bytes.Count(d.Body, []byte("."))
60-
t := time.Duration(dot_count)
59+
dotCount := bytes.Count(d.Body, []byte("."))
60+
t := time.Duration(dotCount)
6161
time.Sleep(t * time.Second)
6262
log.Printf("Done")
6363
d.Ack(false)

0 commit comments

Comments
 (0)