go学习记录
YAYA776
这个作者很懒,什么都没留下…
展开
-
go simplejson
包:import ( "github.com/bitly/go-simplejson")用法:第一步,得到json的内容contents, _ := ioutil.ReadAll(res.Body)js, js_err := simplejson.NewJson(contents)第二步,根据json的格式,选择使用array或者map储存数据var nodes = ...原创 2020-07-28 15:58:19 · 745 阅读 · 0 评论 -
golang中的Context
参考链接:https://www.jianshu.com/p/6def5063c1eb原创 2020-03-02 00:11:18 · 120 阅读 · 0 评论