Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 711 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 711 Bytes

Cloud native C

This is a sample project which shows how to integrate C and Go.

It contains:

  • Go code which uploads and downloads objects to/from AWS S3
  • C code which calls Go code to handle upload/download logic
  • Makefile

Supported platforms (built automatically using GitHub Actions) are:

  • MacOS 10.15
  • Ubuntu 20.04
  • Windows 2019 with MinGW

See build.yml for details.

To build and run the project (assuming make, gcc and go are installed) simply execute:

$ make all
$ ./app app.c my-bucket-name

If you want to learn more about this project, c, go, and cgo please checkout out my article: Cloud native C.