tiramisu/examples/minimal/main.go
2025-06-27 15:23:51 +01:00

24 lines
331 B
Go

package main
import (
_ "embed"
t "git.iwakura.rip/grng/tiramisu"
webview "github.com/webview/webview_go"
)
//go:embed index.html
var html string
func main() {
app := t.New(t.TiramisuOptions{
Debug: true,
Width: 800,
Height: 600,
Title: "Tiramisu",
Hints: webview.HintFixed,
})
app.HTML(html)
app.Run()
}