Package ebiten provides graphics and input API to develop a 2D game https://pkg.go.dev/github.com/hajimehoshi/ebiten?tab=doc
Category: Graphic Library
By creating quality graphical applications using native technologies, developers are able to provide better reliability and a more responsive user interface. Ensuring that applications integrate seamlessly with the operating system, as well as working well online and offline, will provide a consistent workflow that will keep your users happy.
Ebiten “Hello World!”
A simple tutorial to create a window and print a “Hello World!” message. https://ebiten.org/tour/hello_world.html#How_the_code_works
Ebiten
A dead simple 2D game library for Go https://github.com/hajimehoshi/ebiten
Cgo
the ability to call C code directly from Go, this is known as Cgo
SDL2 binding for Go
https://github.com/veandco/go-sdl2
go-sfml
https://github.com/teh-cmc/go-sfml
GLFW 3.3 for Go
https://github.com/go-gl/glfw
Fyne
Fyne is an easy to use UI toolkit and app API written in Go. It is designed to build applications that run on desktop and mobile devices with a single codebase.