https://github.com/vikulin/go-webview-demo
https://github.com/vikulin/go-webview-demo
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vikulin/go-webview-demo
- Owner: vikulin
- License: mit
- Created: 2021-04-01T18:15:37.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-03T12:33:22.000Z (about 5 years ago)
- Last Synced: 2025-09-13T05:57:16.069Z (9 months ago)
- Language: HTML
- Size: 606 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-Webview-demo
```
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go get github.com/webview/webview
```
```
$ GOOS=linux GOARCH=amd64 go get github.com/webview/webview
```
Cross build with debug console:
```
$ GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build
```
Cross build without debug console:
**x86_64**
```
$ GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -ldflags "-H windowsgui"
```
**x86**
```
$ GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ go build -ldflags "-H windowsgui"
```
Finally add dll files from dll/x64 folder.
