26 lines
364 B
Go
26 lines
364 B
Go
package main
|
|
|
|
import (
|
|
"fyne.io/fyne/v2"
|
|
"fyne.io/fyne/v2/app"
|
|
"github.com/lion187chen/gTaskMg"
|
|
)
|
|
|
|
type MGCore struct {
|
|
*gTaskMg.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()
|
|
}
|