Skip to content

Commit 25bf70f

Browse files
Updated comments.
1 parent 28cdd15 commit 25bf70f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎chapter7/patterns/semaphore/semaphore.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Information.
22
//
3-
// This sample program demonstrations how to implement a semaphore using
3+
// This sample program demonstrates how to implement a semaphore using
44
// channels that can allow multiple reads but a single write.
55
//
66
// It uses the generator pattern to create channels and goroutines.

‎chapter7/patterns/timer/timer.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This sample program demonstrations you can use a channel to
1+
// This sample program demonstrates how to use a channel to
22
// monitor the amount of time the program is running and terminate
33
// the program if it runs too long.
44
package main

0 commit comments

Comments
 (0)