mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 11:06:27 +01:00
example: desktop-app/blink: add windows-only build tag
Former-commit-id: d78b7e6cedf9e58eff94a13995bb29fe1686a301
This commit is contained in:
parent
c558e039d5
commit
a0bda97c87
|
@ -1,3 +1,5 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -8,7 +10,7 @@ import (
|
||||||
const addr = "127.0.0.1:8080"
|
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
|
$ ./myapp.exe # run the app
|
||||||
*/
|
*/
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user