package
0.0.0-20250406165304-0bcfea011047
Repository: https://github.com/jchv/go-webview2.git
Documentation: pkg.go.dev

# README

This directory contains the embedded WebView2Loader SDK files, as well as the code for loading the WebView2Loader.

The WebView2 SDK is redistributed under the 3-Clause BSD License. A copy of the license is included in the sdk folder.

# Functions

CompareBrowserVersions will compare the 2 given versions and return: -1 = v1 < v2 0 = v1 == v2 1 = v1 > v2.
CreateCoreWebView2EnvironmentWithOptions tries to load WebviewLoader2 and call the CreateCoreWebView2EnvironmentWithOptions routine.
GetInstalledVersion returns the installed version of the webview2 runtime.

# Variables

go:embed sdk/x64/WebView2Loader.dll.