mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 12:32:21 +00:00
Update ch2-01-hello-cgo.md
This commit is contained in:
parent
c9b727d92a
commit
96c8e2e6d2
@ -152,6 +152,7 @@ void SayHello(/*const*/ char* s);
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
//export SayHello
|
//export SayHello
|
||||||
|
Loading…
x
Reference in New Issue
Block a user