package main import ( "embed" "github.com/wailsapp/wails/v3/pkg/application" ) //go:embed frontend/* var assets embed.FS func main() { app := application.New(application.Options{ Name: "Fetch API Demo", Description: "Demonstrates the Fetch API for network requests", Assets: application.AssetOptions{ Handler: application.BundledAssetFileServer(assets), }, }) app.Window.NewWithOptions(application.WebviewWindowOptions{ Title: "Fetch API Demo", Width: 800, Height: 600, URL: "/", }) app.Run() }