Registry /
other / gen2brain-raylib-go-raylib
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
raylib
✓ github.com/gen2brain/raylib-go/raylib
Initializes a window and draws "Hello, World!" until the window is closed.
package main
import rl "github.com/gen2brain/raylib-go/raylib"
func main() {
rl.InitWindow(800, 600, "Hello Raylib")
defer rl.CloseWindow()
for !rl.WindowShouldClose() {
rl.BeginDrawing()
rl.ClearBackground(rl.RayWhite)
rl.DrawText("Hello, World!", 190, 200, 20, rl.LightGray)
rl.EndDrawing()
}
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.60.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.