This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
package main
|
|
|
|
import "github.com/webview/webview"
|
|
|
|
func main() {
|
|
w := webview.New(false)
|
|
defer w.Destroy()
|
|
w.SetTitle("Basic Example")
|
|
w.SetSize(480, 320, webview.HintNone)
|
|
w.SetHtml("<h1>Thanks for using webview!</h1>")
|
|
w.Run()
|
|
}
|