diff --git a/cgo.md b/cgo.md index e27f3ba8..624576f2 100644 --- a/cgo.md +++ b/cgo.md @@ -217,7 +217,8 @@ import "C" ``` **clibrary.h** -``` + +```c #ifndef CLIBRARY_H #define CLIBRARY_H typedef int (*callback_fcn)(int); @@ -227,7 +228,7 @@ void some_c_func(callback_fcn); **clibrary.c** -```go +```c #include #include "clibrary.h"