13 lines
239 B
Go
13 lines
239 B
Go
|
package main
|
||
|
|
||
|
import webview "github.com/webview/webview_go"
|
||
|
|
||
|
func main() {
|
||
|
w := webview.New(false)
|
||
|
defer w.Destroy()
|
||
|
w.SetTitle("Basic Example")
|
||
|
w.SetSize(480, 320, webview.HintNone)
|
||
|
w.SetHtml("Thanks for using webview!")
|
||
|
w.Run()
|
||
|
}
|