some meta

This commit is contained in:
Mark McGranaghan
2012-09-19 07:56:18 -07:00
parent e1a8b31f00
commit e21ca67d19
5 changed files with 32 additions and 14 deletions

View File

@@ -3,5 +3,9 @@ package main
import "fmt"
func main() {
fmt.Println("Hello World")
fmt.Println("Hello, world")
}
// == running
// $ go run 01-hello.go
// Hello, world

View File

@@ -17,3 +17,7 @@ func main() {
_, e := myFun(42)
fmt.Println(e)
}
// == todo
// custom errors
// data conveying errors

View File

@@ -50,8 +50,16 @@ func main() {
fmt.Println(dropRep)
}
// == running
// # start postgres
// $ createdb gobyexample
// $ cd xx-postgres
// $ go get
// $ ./xx-postgres
// == todo
// connection pooling
// concurrency
// re-connection
// errors
// explain

View File

@@ -63,7 +63,14 @@ func main() {
time.Sleep(time.Second)
}
// == running
// $ redis-server
// $ cd xx-redis
// $ go get
// $ ./xx-redis
// == todo
// connection pooling
// concurrency
// reconnection
// errors