Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 785 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 785 Bytes

CGO Example

Build Status

A simple CGO application that prints "Hello, world!" in Go reading the data from a library in C.

Installation

Assuming a correctly configured Go toolchain:

go get github.com/cpliakas/cgo-example

Usage

Run cgo-example on the command line, and it should return Hello, world!.

How Does It Work?

TODO

Should You Be Doing This?

Maybe, but probably not. Relevant articles on this topic are listed below: