mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2024-10-11 14:25:05 +00:00
Update ch2-01-hello-cgo.md
将 <hello.h> 更改为 “hello.h” 似乎更符合规范
This commit is contained in:
parent
3ed1ce590b
commit
0be3be106f
@ -174,7 +174,7 @@ func SayHello(s *C.char) {
|
||||
```go
|
||||
package main
|
||||
|
||||
//#include <hello.h>
|
||||
//#include "hello.h"
|
||||
import "C"
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user