mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
example: desktop-app/blink: add windows-only build tag
Former-commit-id: d78b7e6cedf9e58eff94a13995bb29fe1686a301
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// +build windows
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -8,7 +10,7 @@ import (
|
||||
const addr = "127.0.0.1:8080"
|
||||
|
||||
/*
|
||||
$ go build -ldflags -H=windowsgui -o myapp.exe # build for windows
|
||||
$ go build -ldflags -H=windowsgui -o myapp.exe
|
||||
$ ./myapp.exe # run the app
|
||||
*/
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user