Merge f39b692fc522849b3fc5a63213043b46193d1914 into c3abaf9afcd167475951249d5a406ba10b24a1d9

This commit is contained in:
yuyabee 2014-08-19 08:43:07 +00:00
commit 38bb20bbcf

View File

@ -392,7 +392,7 @@ func main() {
time.Sleep(5 * time.Second)
// note than you are using the copied context "c_cp", IMPORTANT
log.Println("Done! in path " + c_cp.Req.URL.Path)
log.Println("Done! in path " + c_cp.Request.URL.Path)
}()
})
@ -402,7 +402,7 @@ func main() {
time.Sleep(5 * time.Second)
// since we are NOT using a goroutine, we do not have to copy the context
log.Println("Done! in path " + c.Req.URL.Path)
log.Println("Done! in path " + c.Request.URL.Path)
})
// Listen and server on 0.0.0.0:8080