go : 连接数据库并插入数据
摘要:然后浏览器访问 http://localhost:9091/hello ,就可以插入数据了。 比如用Postman提交数据: 关于数据类型: *http.Request 的数据类型就是 *http.Request(指针),直接照着传过去就行了。 为什么是a.Form["name"][0]? 因为po
阅读全文
posted @ 2018-04-27 11:09
posted @ 2018-04-27 11:09
posted @ 2018-04-25 10:58
posted @ 2018-04-24 15:28
posted @ 2018-04-24 13:24