From 45c67c24b067b146426fa129f5b8a6b1b5225384 Mon Sep 17 00:00:00 2001 From: sfw Date: Tue, 14 Aug 2018 15:44:25 +0800 Subject: [PATCH 1/2] ch2-1-typo --- ch2-cgo/ch2-01-hello-cgo.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ch2-cgo/ch2-01-hello-cgo.md b/ch2-cgo/ch2-01-hello-cgo.md index 7463ce4..fa465a0 100644 --- a/ch2-cgo/ch2-01-hello-cgo.md +++ b/ch2-cgo/ch2-01-hello-cgo.md @@ -103,6 +103,7 @@ void SayHello(const char* s); ```c // hello.c +#include #include "hello.h" void SayHello(const char* s) { From 784396d20f218b6a9938751b75bf12a9e8894435 Mon Sep 17 00:00:00 2001 From: wahaha Date: Tue, 14 Aug 2018 16:32:36 +0800 Subject: [PATCH 2/2] Update ch2-01-hello-cgo.md --- ch2-cgo/ch2-01-hello-cgo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch2-cgo/ch2-01-hello-cgo.md b/ch2-cgo/ch2-01-hello-cgo.md index fa465a0..bd802f7 100644 --- a/ch2-cgo/ch2-01-hello-cgo.md +++ b/ch2-cgo/ch2-01-hello-cgo.md @@ -103,8 +103,8 @@ void SayHello(const char* s); ```c // hello.c -#include #include "hello.h" +#include void SayHello(const char* s) { puts(s);