01 2016 档案

摘要:http://www.cnblogs.com/zzqcn/p/3640353.html 阅读全文
posted @ 2016-01-27 13:38 穆穆兔兔 阅读(198) 评论(0) 推荐(0) 编辑
摘要:package mainimport ( "fmt")type Pointer struct { x string}func (this *Pointer) PrintX() { fmt.Printf("X:%s\n", this.x)}func (this *Pointer) S... 阅读全文
posted @ 2016-01-18 16:04 穆穆兔兔 阅读(530) 评论(0) 推荐(0) 编辑
摘要:http://tonybai.com/2012/09/26/interoperability-between-go-and-c/ // foo.h int count; void foo(); //foo.c #include "foo.h" int count = 6; void foo() { 阅读全文
posted @ 2016-01-15 16:24 穆穆兔兔 阅读(4143) 评论(0) 推荐(1) 编辑
摘要:package fsmimport ( "log")type EvtIf interface { GetEvtType() string}type Action interface { //doAction(evt EvtIf, srcState *State, dstState ... 阅读全文
posted @ 2016-01-08 16:40 穆穆兔兔 阅读(411) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示