Delta Between Two Patch Sets: 2013/go-sreops/hello.go
Issue 87910043 :
code review 87910043: go.talks: fix build; add "// +build OMIT" to many samples (Closed)
Left Patch Set:
Right Patch Set: diff -r 64c0764808ba https://code.google.com/p/go.talks
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
2013/distsys/addr1.go
2013/distsys/addr2.go
2013/distsys/addr3.go
2013/distsys/addr4.go
2013/distsys/addr5.go
2013/distsys/finger.go
2013/distsys/hello.go
2013/distsys/hello0.go
2013/distsys/hello1.go
2013/distsys/replread.go
2013/distsys/replwrite.go
2013/distsys/writebuffer.go
2013/distsys/writebuffer2.go
2013/go-sreops/goroutines.go
2013/go-sreops/goroutines-channels.go
2013/go-sreops/hello.go
2013/go4python/deco.go
2013/go4python/decoex.go
2013/go4python/fib.go
2013/go4python/fib-gen.go
2013/go4python/fib-gen2.go
2013/go4python/genex.go
2013/go4python/genex2.go
2013/go4python/monkey.go
2013/go4python/typesandmethods.go
LEFT RIGHT
1 // +build ignore 1 // +build OMIT
2 2
3 package main 3 package main
4 4
5 import ( 5 import (
6 "flag" 6 "flag"
7 "fmt" 7 "fmt"
8 ) 8 )
9 9
10 var message = flag.String("message", "Hello, OSCON!", "what to say") 10 var message = flag.String("message", "Hello, OSCON!", "what to say")
11 11
12 func main() { 12 func main() {
13 flag.Parse() 13 flag.Parse()
14 fmt.Println(*message) 14 fmt.Println(*message)
15 } 15 }
LEFT RIGHT