mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 19:01:02 +08:00
20 lines
269 B
Go
20 lines
269 B
Go
package main
|
|
|
|
import (
|
|
wails "github.com/wailsapp/wails"
|
|
)
|
|
|
|
var html = `<h1> Basic Template </h1>`
|
|
|
|
func main() {
|
|
|
|
// Initialise the app
|
|
app := wails.CreateApp(&wails.AppConfig{
|
|
Width: 1024,
|
|
Height: 768,
|
|
Title: "My Project",
|
|
HTML: html,
|
|
})
|
|
app.Run()
|
|
}
|