package main import ( "fmt" "github.com.nightgunner5.xgbutil/XUtil" ) func main() { // Create a new connection to the X11 server conn, err := xgbutil.NewConnDisplay(":0") if err != nil { panic(err) } // Parse a font pattern string into font names fonts, err := xgbutil.ParseFontPattern(conn, "-*-dejavu-*") if err != nil { panic(err) } // Print out the font names for _, font := range fonts { fmt.Println(font) } }In this example, we create a new X connection to the `:0` display and then use `ParseFontPattern` to parse the font pattern `-*-dejavu-*`. The function returns a list of font names that we print out to the console. Overall, XUtil is a package library used to facilitate interactions with the X windows system in Go.