package main import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" ) type MGCore struct { *GManager *Loger fyne.App MainWin fyne.Window } var Core MGCore func main() { Core.App = app.New() Core.MainWin = Core.App.NewWindow("Black Forest") Core.MainWin.Resize(fyne.NewSize(800, 600)) Core.MainWin.ShowAndRun() }