webview2

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package webview2 finds the Microsoft Edge WebView2 Runtime as WebView2Loader.dll does. The Windows backend loads the runtime it finds, and `mygo doctor` reports it, so the two never disagree; it builds everywhere, and finds no installed runtime but on Windows.

Index

Constants

View Source
const Download = "https://go.microsoft.com/fwlink/p/?LinkId=2124703"

Download is where people get the runtime.

Variables

This section is empty.

Functions

func ClientDLL

func ClientDLL(dir string) string

ClientDLL returns the client library of the runtime in dir, or "" when dir holds no runtime. The library alone is none: the Edge browser keeps one beside itself, whose environments fail with ERROR_NOT_SUPPORTED, so the runtime's browser process must be there too.

func Find

func Find() (dir string, fixed bool, err error)

Find returns the directory of the runtime a window showing a web page gets, and whether it is a fixed version runtime, named by WEBVIEW2_BROWSER_EXECUTABLE_FOLDER, rather than an installed one. Without a runtime, the error says why.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL