I created an application that I want to run invisibly in the background (no console). How do I do this?
(This is for Windows, tested on Windows 7 Pro 64 bit)
Using Go Version 1.4.2
go build -ldflags "-H windowsgui"
From the Go docs: go build [-o output] [-i] [build flags] [packages] -ldflags 'flag list' arguments to pass on each 5l, 6l, or 8l linker invocation.
From the Go docs:
go build [-o output] [-i] [build flags] [packages]
-ldflags 'flag list' arguments to pass on each 5l, 6l, or 8l linker invocation.
-ldflags 'flag list'