Skip to content

Commit

Permalink
Changes for named type description
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Jun 14, 2015
1 parent 6b57c93 commit dea4814
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chapter5/listing46/listing46.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package main

import "fmt"

// duration is a named type with a base type of int.
// duration is a type with a base type of int.
type duration int

// format pretty-prints the duration value.
Expand Down
2 changes: 1 addition & 1 deletion chapter5/listing64/counters/counters.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package counters provides alert counter support.
package counters

// alertCounter is an unexported named type that
// alertCounter is an unexported type that
// contains an integer counter for alerts.
type alertCounter int
2 changes: 1 addition & 1 deletion chapter5/listing68/counters/counters.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Package counters provides alert counter support.
package counters

// alertCounter is an unexported named type that
// alertCounter is an unexported type that
// contains an integer counter for alerts.
type alertCounter int

Expand Down

0 comments on commit dea4814

Please sign in to comment.