/cgo-test-example

write code on C and test it with use go testing

Primary LanguageGoMIT LicenseMIT

cgo-test-example

write code on C and test it with use go tests.

start a test

  • cd example_1 && go test
  • cd example_2 && make

content

  • example_1 - test printf
  • example_2 - test library