01 2016 档案
摘要:http://www.cnblogs.com/zzqcn/p/3640353.html
阅读全文
摘要:package mainimport ( "fmt")type Pointer struct { x string}func (this *Pointer) PrintX() { fmt.Printf("X:%s\n", this.x)}func (this *Pointer) S...
阅读全文
摘要: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() {
阅读全文
摘要:package fsmimport ( "log")type EvtIf interface { GetEvtType() string}type Action interface { //doAction(evt EvtIf, srcState *State, dstState ...
阅读全文