goglib

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 0 Imported by: 0

README

go-glib

Glib and gobject bindings and bindings generator for go.

These are intended to be used together with https://github.com/go-gst/go-gst

godoc reference GoReportCard

Where are the v1.X.X versions?

In https://github.com/go-gst/go-glib/pull/32 this repo was migrated to using a generator from GIR files. This makes all code in this repo:

  • safer
  • more aligned with the GStreamer functions
  • way easier to maintain

The old code isn't gone, you can always pin your versions on the old commits. The tags have been retracted though, so you may end up seeing some logs from the go toolchain complaining.

There are some migrations needed, as this is a breaking change, but mostly this is simple syntax or function naming. The underlying GStreamer logic does not change from this. See the go-gst examples for some reference.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
gir
Package gir provides GIR types, as well as functions that parse GIR files.
Package gir provides GIR types, as well as functions that parse GIR files.
cmd/gir-generate/gendata
Package gendata contains data used to generate GTK4 bindings for Go.
Package gendata contains data used to generate GTK4 bindings for Go.
girgen/strcases
Package strcases provides helper functions to convert between string cases, such as Pascal Case, snake_case and Go's Mixed Caps, along with various special cases.
Package strcases provides helper functions to convert between string cases, such as Pascal Case, snake_case and Go's Mixed Caps, along with various special cases.
pkg
core/classdata
package classdata stores and retrieves virtual functions for overloaded virtual methods.
package classdata stores and retrieves virtual functions for overloaded virtual methods.
core/userdata
userdata manages data that needs to be passed to C code, such as callbacks
userdata manages data that needs to be passed to C code, such as callbacks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL