Update README.md
This commit is contained in:
parent
9b2c18c620
commit
2f2218bba8
10
README.md
10
README.md
|
@ -1,7 +1,7 @@
|
|||
# webview_go-4.1
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/arzumify/webview_go-4.1?status.svg)](https://godoc.org/github.com/arzumify/webview_go-4.1)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/arzumify/webview_go-4.1)](https://goreportcard.com/report/github.com/webview/webview_go)
|
||||
[![GoDoc](https://godoc.org/centrifuge.hectabit.org/HectaBit/webview_go?status.svg)](https://godoc.org/centrifuge.hectabit.org/HectaBit/webview_go)
|
||||
[![Go Report Card](https://goreportcard.com/badge/centrifuge.hectabit.org/HectaBit/webview_go)](https://goreportcard.com/report/centrifuge.hectabit.org/HectaBit/webview_go)
|
||||
|
||||
Go language binding for the [webview library][webview], for webkitgtk-4.1.
|
||||
This is entirely backwards compatible with webview_go 4.0, and needs only a dependency replacement.
|
||||
|
@ -28,13 +28,13 @@ go mod init example.com/app
|
|||
Save one of the example programs into your project directory.
|
||||
|
||||
```sh
|
||||
curl -sSLo main.go "https://raw.githubusercontent.com/arzumify/webview_go-4.1/master/examples/basic/main.go"
|
||||
curl -sSLo main.go "https://centrifuge.hectabit.org/HectaBit/webview_go/raw/branch/master/examples/basic/main.go"
|
||||
```
|
||||
|
||||
Install dependencies.
|
||||
|
||||
```sh
|
||||
go get github.com/webview/webview_go
|
||||
go get centrifuge.hectabit.org/HectaBit/webview_go
|
||||
```
|
||||
|
||||
Build the example. On Windows, add `-ldflags="-H windowsgui"` to the command line.
|
||||
|
@ -47,5 +47,5 @@ go build
|
|||
|
||||
Calling `Eval()` or `Dispatch()` before `Run()` does not work because the webview instance has only been configured and not yet started.
|
||||
|
||||
[go-docs]: https://pkg.go.dev/github.com/arzumify/webview_go-4.1
|
||||
[go-docs]: https://pkg.go.dev/centrifuge.hectabit.org/HectaBit/webview_go
|
||||
[webview]: https://github.com/webview/webview
|
||||
|
|
Loading…
Reference in New Issue