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>
10 lines
223 B
Go
10 lines
223 B
Go
//go:build !(darwin && cgo) && !windows
|
|
|
|
package window
|
|
|
|
func newBackend(Options) (backend, string, string, error) { return nil, "", "", ErrUnsupported }
|
|
|
|
func accentColor() string { return "" }
|
|
|
|
func setAppIcon([]byte) {}
|