Skip to content

Commit e7b9bfd

Browse files
Corrections with CRLF
1 parent 53acfd1 commit e7b9bfd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎chapter6/listing04/listing04.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ next:
3939
continue next
4040
}
4141
}
42-
fmt.Printf("%s:%d\\n", prefix, outer)
42+
fmt.Printf("%s:%d\n", prefix, outer)
4343
}
4444
fmt.Println("Completed", prefix)
4545
}

‎chapter6/listing15/listing15.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ func doWork(name string) {
4545
defer wg.Done()
4646

4747
for {
48-
fmt.Printf("Doing %s Work\\n", name)
48+
fmt.Printf("Doing %s Work\n", name)
4949
time.Sleep(250 * time.Millisecond)
5050

5151
// Do we need to shutdown.
5252
if atomic.LoadInt64(&shutdown) == 1 {
53-
fmt.Printf("Shutting %s Down\\n", name)
53+
fmt.Printf("Shutting %s Down\n", name)
5454
break
5555
}
5656
}

‎chapter6/listing16/listing16.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func main() {
3131

3232
// Wait for the goroutines to finish.
3333
wg.Wait()
34-
fmt.Printf("Final Counter: %d\\n", counter)
34+
fmt.Printf("Final Counter: %d\n", counter)
3535
}
3636

3737
// incCounter increments the package level Counter variable

0 commit comments

Comments
 (0)