Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(325)

Side by Side Diff: doc/progs/interface.go

Issue 5755051: code review 5755051: doc: fix typos in laws_of_reflection article. (Closed)
Patch Set: diff -r c1f5756f94b0 https://go.googlecode.com/hg/ Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « doc/articles/laws_of_reflection.tmpl ('k') | doc/progs/interface2.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // This file contains the code snippets included in "The Laws of Reflection."
6
1 package main 7 package main
2 8
3 import ( 9 import (
4 "bufio" 10 "bufio"
5 "bytes" 11 "bytes"
6 "io" 12 "io"
7 "os" 13 "os"
8 ) 14 )
9 15
10 type MyInt int 16 type MyInt int
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 w = r.(io.Writer) 53 w = r.(io.Writer)
48 // STOP OMIT 54 // STOP OMIT
49 var empty interface{} 55 var empty interface{}
50 empty = w 56 empty = w
51 // STOP OMIT 57 // STOP OMIT
52 return empty, err 58 return empty, err
53 } 59 }
54 60
55 func main() { 61 func main() {
56 } 62 }
OLDNEW
« no previous file with comments | « doc/articles/laws_of_reflection.tmpl ('k') | doc/progs/interface2.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b