This example shows how to call a Golang function from Javascript and how to use the internal Gui functions e.g Gui.FullScreen(true).
Download Prebuilt Example
Linux
Windows
Linux Build
go build
Windows Build
Windows requires the webview_edge.dll to be in the same directory as the executable. You can build this using the instructions in webview-gui/webview-sys(https://github.com/quarton/webview-gui/webview-sys) or use the precompiled version also found in that directory.