修改一些错误和完成第十章序

This commit is contained in:
astaxie
2012-10-22 14:42:17 +08:00
parent bb7c562e28
commit 1089152d60
3 changed files with 29 additions and 1 deletions

2
8.3.md
View File

@@ -83,6 +83,8 @@ Go没有为REST提供直接支持但是因为RESTful是基于HTTP协议实现
}
func adduser(w http.ResponseWriter, r *http.Request) {
params := r.URL.Query()
uid := params.Get(":uid")
fmt.Fprint(w, "you are add user %s", uid)
}