Skip to content
A simple example of how to make use of cgo
Go C C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
increment
pdh
stdlib
.gitignore
LICENSE
README.md
cgo_example.go

README.md

cgo_example

A simple example of how to make use of cgo

Packages

  • increment: demonstrates how a custom C library can be created (increment.c, increment.h) and then referenced in Go
  • pdh: demonstrates how a standard windows library can be used in Go
  • stdlib: demonstrates how a standard library can be used in Go with additional custom C code defined in the C preamble within stdlib.go
You can’t perform that action at this time.