🌐
GitHub
github.com › golang › go › wiki › cgo
cgo · golang/go Wiki
The Go wiki on GitHub has moved to go.dev (#61940). Try https://go.dev/wiki/cgo or https://go.dev/wiki/.
Author   golang
🌐
GitHub
github.com › golang › go › blob › master › src › runtime › cgo.go
go/src/runtime/cgo.go at master · golang/go
// iscgo is set to true by the runtime/cgo package · // // iscgo should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/ebitengine/purego · // // Do not remove or change the type signature.
Author   golang
🌐
GitHub
github.com › andreiavrammsd › cgo-examples
GitHub - andreiavrammsd/cgo-examples: Examples of calling C code from Go · GitHub
Examples of calling C code from Go. Contribute to andreiavrammsd/cgo-examples development by creating an account on GitHub.
Starred by 33 users
Forked by 9 users
Languages   Go 64.0% | C 26.7% | Makefile 9.3%
🌐
GitHub
github.com › golang › go › blob › master › src › runtime › cgo › cgo.go
go/src/runtime/cgo/cgo.go at master · golang/go
Package cgo contains runtime support for code generated · by the cgo tool. See the documentation for the cgo command · for details on using cgo. */ package cgo · · /* · #cgo darwin,!arm64 LDFLAGS: -lpthread · #cgo darwin,arm64 LDFLAGS: -framework CoreFoundation ·
Author   golang
🌐
GitHub
github.com › giorgisio › cgo
GitHub - giorgisio/cgo: cgo by example
cgo by example. Contribute to giorgisio/cgo development by creating an account on GitHub.
Starred by 37 users
Forked by 9 users
Languages   Go 100.0% | Go 100.0%
🌐
GitHub
github.com › topics › cgo
cgo · GitHub Topics · GitHub
go macos golang mac ios apple objective-c bindings native-apps cgo bridge cocoa webkit appkit coremidi objc-runtime coreml macos-application apple-apis libobjc
🌐
GitHub
github.com › cpliakas › cgo-example
GitHub - cpliakas/cgo-example: A simple CGO application for example purposes. · GitHub
A simple CGO application for example purposes. Contribute to cpliakas/cgo-example development by creating an account on GitHub.
Starred by 4 users
Forked by 4 users
Languages   Go 78.0% | C 22.0%
🌐
GitHub
github.com › zchee › golang-cgo
GitHub - zchee/golang-cgo: A research golang cgo implementation · GitHub
A research golang cgo implementation. Contribute to zchee/golang-cgo development by creating an account on GitHub.
Author   zchee
🌐
GitHub
github.com › kieselsteini › cgo
GitHub - kieselsteini/cgo: A terminal based gopher client - Please also look at: https://github.com/kieselsteini/delve for a better client · GitHub
A terminal based gopher client - Please also look at: https://github.com/kieselsteini/delve for a better client - kieselsteini/cgo
Starred by 117 users
Forked by 14 users
Languages   C 86.3% | Roff 11.7% | Makefile 2.0%
🌐
GitHub
github.com › golang › go › blob › master › src › runtime › cgo › libcgo.h
go/src/runtime/cgo/libcgo.h at master · golang/go
The Go programming language. Contribute to golang/go development by creating an account on GitHub.
Author   golang
Find elsewhere
🌐
GitHub
github.com › chai2010 › cgo
GitHub - chai2010/cgo: golang cgo helper
golang cgo helper. Contribute to chai2010/cgo development by creating an account on GitHub.
Starred by 88 users
Forked by 17 users
Languages   Go 78.7% | C++ 11.1% | C 10.2% | Go 78.7% | C++ 11.1% | C 10.2%
🌐
GitHub
github.com › andreiavrammsd › cgo-examples › blob › master › main.go
cgo-examples/main.go at master · andreiavrammsd/cgo-examples
Examples of calling C code from Go. Contribute to andreiavrammsd/cgo-examples development by creating an account on GitHub.
Author   andreiavrammsd
🌐
GitHub
github.com › chent1024 › cgo
GitHub - chent1024/cgo: mini go web framework base on gin · GitHub
mini go web framework base on gin. Contribute to chent1024/cgo development by creating an account on GitHub.
Author   chent1024
🌐
GitHub
github.com › golang › go › blob › master › src › runtime › cgo › handle.go
go/src/runtime/cgo/handle.go at master · golang/go
package cgo · · import ( "sync" "sync/atomic" ) · // Handle provides a way to pass values that contain Go pointers · // (pointers to memory allocated by Go) between Go and C without · // breaking the cgo pointer passing rules. A Handle is an integer ·
Author   golang
🌐
Go Packages
pkg.go.dev › github.com › tinygo-org › tinygo › cgo
cgo package - github.com/tinygo-org/tinygo/cgo - Go Packages
December 18, 2025 - github.com/tinygo-org/tinygo · Open Source Insights · Package cgo implements CGo by modifying a loaded AST. It does this by parsing the `import "C"` statements found in the source code with libclang and generating stub function and global declarations. There are a few advantages to modifying the AST directly instead of doing CGo as a preprocessing step, with the main advantage being that debug information is kept intact as much as possible.
🌐
GitHub
github.com › techknowlogick › xgo
GitHub - techknowlogick/xgo: Go CGO cross compiler · GitHub
Go CGO cross compiler. Contribute to techknowlogick/xgo development by creating an account on GitHub.
Starred by 542 users
Forked by 84 users
Languages   Go 45.7% | Shell 40.7% | Dockerfile 9.5% | Python 3.5%
🌐
GitHub
github.com › karalabe › xgo
GitHub - karalabe/xgo: Go CGO cross compiler · GitHub
Go CGO cross compiler. Contribute to karalabe/xgo development by creating an account on GitHub.
Starred by 2.2K users
Forked by 272 users
Languages   Shell 44.1% | Dockerfile 39.7% | Go 15.7%
🌐
Zchee
zchee.github.io › golang-wiki › cgo
cgo - Go Programming Language Wiki
First, https://pkg.go.dev/cmd/cgo is the primary cgo documentation.
🌐
GitHub
github.com › golang-samples › cgo
GitHub - golang-samples/cgo
May 1, 2013 - Contribute to golang-samples/cgo development by creating an account on GitHub.
Author   golang-samples