项目
在 GitHub 查看
webview/webview_go
关于
webview 库的 Go 语言绑定。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文webview_go
Go language binding for the webview library.
[!NOTE] Versions <= 0.1.1 are available in the old repository.
Getting Started
See Go package documentation for the Go API documentation, or simply read the source code.
Start with creating a new directory structure for your project.
mkdir my-project && cd my-project
Create a new Go module.
go mod init example.com/app
Save one of the example programs into your project directory.
curl -sSLo main.go "https://raw.githubusercontent.com/webview/webview_go/master/examples/basic/main.go"
Install dependencies.
go get github.com/webview/webview_go
Build the example. On Windows, add -ldflags="-H windowsgui" to the command line.
go build
Notes
Calling Eval() or Dispatch() before Run() does not work because the webview instance has only been configured and not yet started.
探索相关项目
加载中…