![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Go
不给糖就捣蛋......
这个作者很懒,什么都没留下…
展开
-
Go 解决下载插件失败原因
Go 1.13 及以上(推荐) go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct macOs或Linux export GO111MODULE=on export GOPROXY=https://goproxy.cn原创 2021-11-23 14:29:00 · 331 阅读 · 0 评论 -
go 接收get、post参数并返回json
package main import ( "encoding/json" "io" "io/ioutil" "log" "net/http" ) type JsonResult struct { Errcode int Errmsg string Result interface{} } func main() { http.HandleFunc("/testGet", testGet) http.HandleFunc("/testPost", testPost) ht.原创 2021-08-05 17:39:44 · 1492 阅读 · 0 评论