1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 12:32:21 +00:00

fix ch2-1 typo

This commit is contained in:
sfw 2018-08-14 16:49:07 +08:00
parent 604106f3ea
commit aba58cf8c9

View File

@ -150,6 +150,8 @@ void SayHello(/*const*/ char* s);
```go ```go
// hello.go // hello.go
package main package main
import "C"
import "fmt"
//export SayHello //export SayHello
func SayHello(s *C.char) { func SayHello(s *C.char) {