some meta
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -17,3 +17,7 @@ func main() {
|
||||
_, e := myFun(42)
|
||||
fmt.Println(e)
|
||||
}
|
||||
|
||||
// == todo
|
||||
// custom errors
|
||||
// data conveying errors
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user