mirror of https://github.com/qwc/backive.git
26 lines
394 B
Go
26 lines
394 B
Go
package main
|
|
|
|
import (
|
|
"fyne.io/fyne/v2/app"
|
|
|
|
"github.com/qwc/backive"
|
|
backiveui "github.com/qwc/backive/ui"
|
|
)
|
|
|
|
var (
|
|
config backive.Configuration
|
|
database backive.Database
|
|
)
|
|
|
|
func main() {
|
|
|
|
database.Load()
|
|
config.Load()
|
|
app := app.New()
|
|
w := app.NewWindow("Hello World!")
|
|
backiveui.Init(app, w, config, database)
|
|
|
|
//w.SetContent(widget.NewLabel("Hello World!"))
|
|
w.ShowAndRun()
|
|
}
|