Extracted from prototypes/yetano-webview (AP1): packages assets, document, bridge and window (macOS Cocoa/WKWebView via cgo, Windows Win32/WebView2 pure Go). No local HTTP listener or port: assets go through the WebView's resource handler, app routes through the native message binding. Own go.mod and gui/vX.Y.Z tags keep cgo and the WebView dependencies out of the main core module. Adds backend-free tests for the window's dispatch/destroy guards and a yet-gui migration guide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
259 B
AMPL
12 lines
259 B
AMPL
module yetano.dev/yetano/core/gui
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/jchv/go-webview2 v0.0.0-20260205173254-56598839c808
|
|
golang.org/x/net v0.59.0
|
|
golang.org/x/sys v0.48.0
|
|
)
|
|
|
|
require github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1 // indirect
|