Updated cgo (markdown)

William Cotton 2018-10-12 01:17:06 +02:00
parent 35515bc598
commit a12635222a

3
cgo.md

@ -327,7 +327,8 @@ in the preamble (see above for a complete example).
In order to use cgo on Windows, you'll also need to first install a gcc compiler (for instance, mingw-w64) and have gcc.exe (etc.) in your PATH environment variable before compiling with cgo will work.
### environmental variables
Go doesn't see variables set by C.setenv
Go os.Getenv() doesn't see variables set by C.setenv()
### tests
_test.go files can't use cgo.