package main import ( "fmt" "github.com/jroimartin/gocui" ) func main() { g, err := gocui.NewGui(gocui.Output256) if err != nil { panic(err) } defer g.Close() g.SetKeybinding("", gocui.KeyCtrlC, gocui.Quit) g.SetKeybinding("", 'h', func(g *gocui.Gui, v *gocui.View) error { fmt.Fprintln(v, "Hello, World!") return nil }) err = g.MainLoop() if err != nil && err != gocui.ErrQuit { panic(err) } }In this example, we create a new GUI instance using `gocui.NewGui`, then define two keybindings using `g.SetKeybinding`. The first keybinding maps the "Ctrl+C" key combination to the `gocui.Quit` function, which will exit the application. The second keybinding maps the "h" key to an anonymous function that prints "Hello, World!" to the console. Note that in both cases, the first argument to `SetKeybinding` is an empty string, which tells the library to apply this keybinding to all views in the GUI. Overall, `SetKeybinding` is a powerful tool for creating custom keyboard shortcuts and improving the user experience of your command-line applications.