This example shows how to work with structs. It uses the raylib library to open a window and display an image.
You can run it like this:
go run github.com/jupiterrider/ffi/examples/structs/raylib@latest