Skip to content

Commit f911876

Browse files
Updated comments
1 parent 31c0983 commit f911876

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/chapter2/search/main.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ import (
1010
"github.com/goinaction/code/src/chapter2/search/rss"
1111
)
1212

13+
// init is called before main.
1314
func init() {
15+
// Change the log to write to stdout instead
16+
// of its default device stderr.
1417
log.SetOutput(os.Stdout)
1518
}
1619

0 commit comments

Comments
 (0)