上一页 1 ··· 3 4 5 6 7
type temp struct { Afd int Bee string }func main(){ text:=temp{3123,"4234"} b._:=json.Marshal(text) var text2 temp err:=json.Unmarshal(b,&text2) fmt.P Read More
posted @ 2017-07-26 16:00 kekemuyu Views(202) Comments(0) Diggs(0) Edit
2017/07/19 14:01:03 [I] [asm_amd64.s:2197] http server Running on http://:8080 2017/07/19 14:01:03 [I] [asm_amd64.s:2197] https server Running on http Read More
posted @ 2017-07-19 14:02 kekemuyu Views(746) Comments(0) Diggs(0) Edit
import ( "fmt" "time" "github.com/astaxie/beego" "github.com/bitly/go-simplejson" ) type Datas struct { data struct { Id int64 `json:"id"` Userid stri Read More
posted @ 2017-07-18 07:58 kekemuyu Views(420) Comments(0) Diggs(0) Edit
[软]上海-Qt侠 2017/7/12 16:11:20我完全是兴趣主导,老板不给我钱,我也要写好代码!白天干,晚上干,周一周五干,周末继续干!编程已经深入我的基因,深入我的骨髓,深入我的灵魂!当我解决一个程序问题,比别人玩王者荣耀拿了第一名还开心!你要想想,能干自己感兴趣的事情,像写诗一样写代码, Read More
posted @ 2017-07-13 19:18 kekemuyu Views(168) Comments(0) Diggs(0) Edit
http://blog.csdn.net/aqtata/article/details/53389261 Read More
posted @ 2017-03-02 08:14 kekemuyu Views(148) Comments(0) Diggs(0) Edit
golang中for{}会引起程序死锁 如: main(){ go func(){fmt.Println("dfkdsf")} for{ } } 程序运行一会会停止 按照下面的写法才正确 var c=make(chan int,1) main(){ go func(){fmt.Println("df Read More
posted @ 2017-02-13 11:52 kekemuyu Views(423) Comments(0) Diggs(0) Edit
用这种方法就可以了go build -ldflags -H=windowsgui XXX.go Read More
posted @ 2017-02-06 13:24 kekemuyu Views(109) Comments(0) Diggs(0) Edit
1.设置环境变量export GOPATH=/f/go_work2 2.go get github.com/xx Read More
posted @ 2017-02-04 16:48 kekemuyu Views(224) Comments(0) Diggs(0) Edit
1.简介 最近迷上了性价比超高的模块nodemcu,它是基于esp8266-12E的非常易用的模块。他可以用lua语言编程,带有丰富的库。 2.硬件 1)esp8266-12E单元模块原理图 经本人实测只需两个电阻即可,R2和R1,大小10几k。Rst低电平复位电路。 2)nodemcu固件烧写 n Read More
posted @ 2016-09-04 16:14 kekemuyu Views(1457) Comments(0) Diggs(0) Edit
上一页 1 ··· 3 4 5 6 7