diff --git a/cgo.md b/cgo.md index b0df9019..daf2afa5 100644 --- a/cgo.md +++ b/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. \ No newline at end of file