The raylib project implements window creation, event handling and image drawing using raylib version 4.5.
pacman -Sy raylib
The input_events command demonstrates how to create a window and handle input events using window.Open and Window.PollEvent.
go install -v github.com/mewspring/raylib/examples/input_events@master
The tiny command demonstrates how to render images onto the window using Window.Draw and Window.DrawRect. It also gives an example of a basic event loop.
go install -v github.com/mewspring/raylib/examples/tiny@master
The fonts command demonstrates how to render text using TTF fonts.
go install -v github.com/mewspring/raylib/examples/fonts@master