minimal ui
This commit is contained in:
3
main.go
3
main.go
@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"wails-svelte-tailwind-ts/things"
|
||||
|
||||
"github.com/wailsapp/wails/v2"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
@ -14,6 +15,7 @@ var assets embed.FS
|
||||
func main() {
|
||||
// Create an instance of the app structure
|
||||
app := NewApp()
|
||||
things := things.NewThingsService()
|
||||
|
||||
// Create application with options
|
||||
err := wails.Run(&options.App{
|
||||
@ -27,6 +29,7 @@ func main() {
|
||||
OnStartup: app.startup,
|
||||
Bind: []interface{}{
|
||||
app,
|
||||
things,
|
||||
},
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user