Skip to content

Commit dea4814

Browse files
Changes for named type description
1 parent 6b57c93 commit dea4814

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

chapter5/listing46/listing46.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package main
44

55
import "fmt"
66

7-
// duration is a named type with a base type of int.
7+
// duration is a type with a base type of int.
88
type duration int
99

1010
// format pretty-prints the duration value.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Package counters provides alert counter support.
22
package counters
33

4-
// alertCounter is an unexported named type that
4+
// alertCounter is an unexported type that
55
// contains an integer counter for alerts.
66
type alertCounter int

chapter5/listing68/counters/counters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Package counters provides alert counter support.
22
package counters
33

4-
// alertCounter is an unexported named type that
4+
// alertCounter is an unexported type that
55
// contains an integer counter for alerts.
66
type alertCounter int
77

0 commit comments

Comments
 (0)