01 2016 档案

摘要:http://www.cnblogs.com/zzqcn/p/3640353.html 阅读全文
posted @ 2016-01-27 13:38 穆穆兔兔 阅读(207) 评论(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 穆穆兔兔 阅读(558) 评论(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 穆穆兔兔 阅读(4204) 评论(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 穆穆兔兔 阅读(419) 评论(0) 推荐(0)