-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21e556e
commit c2b54f5
Showing
3 changed files
with
134 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
This example shows how to work with structs. It uses the [raylib](https://github.com/raysan5/raylib) library to open a window and display an image. | ||
|
||
Run it from the root directory like this: | ||
You can run it like this: | ||
```sh | ||
go run examples/structs/raylib/main.go | ||
go run github.com/jupiterrider/ffi/examples/structs/raylib@latest | ||
``` | ||
|
||
![Screenshot](./Screenshot.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters