cgo引用外部c文件注意1

//void SayHello(const char* s);
import "C"

  import和上边的c声明之间不能有空格

原文地址:https://www.cnblogs.com/kekemuyu/p/12642393.html