Skip to content

A simple CGO application for example purposes.

License

Notifications You must be signed in to change notification settings

igor-hnizdo/cgo-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

git clone https://github.com/igor-hnizdo/cgo-example
cd cgo-example
go build

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:

About

A simple CGO application for example purposes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 78.0%
  • C 22.0%