Registry / other / go-gl-glfw-v3-3-glfw

go-gl-glfw-v3-3-glfw

JSON →
library0.0.0-20260406072232-3ac4aa2bb164gogounverified

Package glfw provides Go bindings for the GLFW 3.3 library for creating windows with OpenGL contexts and handling input.

go get github.com/go-gl/glfw/v3.3/glfw
INSTALL
IMPORT
SIG · GO-GL-GLFW-V3-3-GL
G
go-gl-glfw-v3-3-glfw
othergov0.0.0-20260406072232-3ac4aa2bb164
harness data pending
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.

glfw
github.com/go-gl/glfw/v3.3/glfw

Initializes GLFW and creates a window

package main import ( "github.com/go-gl/glfw/v3.3/glfw" "log" ) func main() { err := glfw.Init() if err != nil { log.Fatal(err) } defer glfw.Terminate() window, err := glfw.CreateWindow(640, 480, "Test", nil, nil) if err != nil { log.Fatal(err) } window.MakeContextCurrent() }
Debug
Known issues
gotchaRequires GLFW 3.3 system library to be installed
fix
Install GLFW development libraries (e.g., apt-get install libglfw3-dev)
affects: *
Upgrade
Version history
0.0.0-20260406072232-3ac4aa2bb164latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
go-gl-glfw-v3-3-glfw — go get go-gl-glfw-v3-3-glfw · libregistry