1 WebView Library
김충현(R&D사업부/이사) edited this page 2026-10-12 05:48:01 +00:00

go-webview2

Windows 직원 화면에서 Microsoft Edge WebView2를 사용하는 Go 라이브러리입니다. 이 저장소에는 원본 코드와 Techlabs Discovery에 필요한 변경을 함께 보관합니다.

이 프로젝트에서 사용하는 방식

직원 창을 숨긴 상태로 시작하고, 창의 표시 상태를 WebView와 맞추는 변경을 적용했습니다. 자세한 내용은 로컬 변경 기록을 확인해 주세요.

원본 프로젝트는 jchv/go-webview2입니다. 원본 코드의 MIT 라이선스와 WebView2Loader SDK의 고지를 보존합니다.

원본 프로젝트 안내

아래는 원본 프로젝트의 영어 안내입니다. 예제 명령과 외부 링크는 원문대로 유지했습니다.

Go Go Report Card Go Reference

This package provides an interface for using the Microsoft Edge WebView2 component with Go. It is based on webview/webview and provides a compatible API.

Please note that this package only supports Windows, since it provides functionality specific to WebView2. If you wish to use this library for Windows, but use webview/webview for all other operating systems, you could use the go-webview-selector package instead. However, you will not be able to use WebView2-specific functionality.

If you wish to build desktop applications in Go using web technologies, please consider Wails. It uses go-webview2 internally on Windows.

Demo

If you are using Windows 10+, the WebView2 runtime should already be installed. If you don't have it installed, you can download and install a copy from Microsoft's website:

WebView2 runtime

After that, you should be able to run go-webview2 directly:

go run ./cmd/demo

This will use go-winloader to load an embedded copy of WebView2Loader.dll. If you want, you can also provide a newer version of WebView2Loader.dll in the DLL search path and it should be picked up instead. It can be acquired from the WebView2 SDK (which is permissively licensed.)

원문: 공개 소스 cedbd06. 문서 갱신일 2026-10-12.