github.com/AlpineAIO/wails/v2@v2.0.0-beta.32.0.20240505041856-1047a8fa5fef/wails.go (about) 1 // Package wails is the main package of the Wails project. 2 // It is used by client applications. 3 package wails 4 5 import ( 6 _ "github.com/AlpineAIO/wails/v2/internal/goversion" // Add Compile-Time version check for minimum go version 7 "github.com/AlpineAIO/wails/v2/pkg/application" 8 "github.com/AlpineAIO/wails/v2/pkg/options" 9 ) 10 11 // Run creates an application based on the given config and executes it 12 func Run(options *options.App) error { 13 mainApp := application.NewWithOptions(options) 14 return mainApp.Run() 15 }