mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 04:22:22 +00:00
fix ch2-1 typo
This commit is contained in:
parent
604106f3ea
commit
aba58cf8c9
@ -150,6 +150,8 @@ void SayHello(/*const*/ char* s);
|
||||
```go
|
||||
// hello.go
|
||||
package main
|
||||
import "C"
|
||||
import "fmt"
|
||||
|
||||
//export SayHello
|
||||
func SayHello(s *C.char) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user