mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
let's see
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
const addr = "127.0.0.1:8080"
|
||||
|
||||
/*
|
||||
$ go build -ldflags -H=windowsgui -o myapp.exe
|
||||
$ go build -mod=mod -ldflags -H=windowsgui -o myapp.exe
|
||||
$ ./myapp.exe # run the app
|
||||
*/
|
||||
func main() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
const addr = "127.0.0.1:8080"
|
||||
|
||||
/*
|
||||
$ go build -ldflags="-H windowsgui" -o myapp.exe # build for windows
|
||||
$ go build -mod=mod -ldflags="-H windowsgui" -o myapp.exe # build for windows
|
||||
$ ./myapp.exe # run
|
||||
*/
|
||||
func main() {
|
||||
|
||||
@@ -13,7 +13,7 @@ const addr = "127.0.0.1:8080"
|
||||
# http://tdm-gcc.tdragon.net/download
|
||||
#
|
||||
#
|
||||
$ go build -ldflags="-H windowsgui" -o myapp.exe # build for windows
|
||||
$ go build -mod=mod -ldflags="-H windowsgui" -o myapp.exe # build for windows
|
||||
$ ./myapp.exe # run
|
||||
#
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user