Update README.md

This commit is contained in:
xushiwei
2024-05-06 23:13:20 +08:00
committed by GitHub
parent b08ae1dff3
commit 028c6cdf50

View File

@@ -37,7 +37,7 @@ go install -v ./...
The `_demo` directory contains our demos (it start with `_` to prevent the `go` command from compiling it):
* [hello](_demo/hello/hello.go): call C printf to print `Hello world`
* [concat](_demo/concat/concat.go): call C fprintf with stderr, and Go variable parameter function
* [concat](_demo/concat/concat.go): call C fprintf with stderr, and Go variadic function
* [qsort](_demo/qsort/qsort.go): call C function with a callback (eg. qsort)
* [genints](_demo/genints/genints.go): various forms of closure usage (including C function, recv.method and anonymous function)