A simple example of using CGO in Golang.
- Go
- GCC
- Install mingw-w64:
- Add to PATH env:
C:\Program Files\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
C:\Program Files\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\libexec\gcc\x86_64-w64-mingw32\6.3.0
MIT