Golang(12)Web Service - JSON Mapping Improvement = nil { s = "json err: " + err.Error() return } s = string(b) return } func ParseJSON(r *http.Request) Bug { var b Bug c 风雨断肠人 2014-05-21 21:21:38
Golang(12)Web Service - JSON Mapping Improvement = nil { s = "json err: " + err.Error() return } s = string(b) return } func ParseJSON(r *http.Request) Bug { var b Bug c 风雨断肠人 2014-05-21 20:18:14
Golang(11)Web Service - RESTful = nil { fmt.Fprint(w, "json err: %s", err) } fmt.Fprint(w, string(b)) //write to the response } func updateBug(w http.Re 码墨 2014-05-21 07:09:51
Golang(11)Web Service - RESTful = nil { fmt.Fprint(w, "json err: %s", err) } fmt.Fprint(w, string(b)) //write to the response } func updateBug(w http.Re 87457215 2014-05-21 05:00:04