Package hideconsole is a utility package to hide a console automatically even without -ldflags="-H=windowsgui" on Windows.
On non-Windows, this package does nothing.
Import this package with a blank identifier.
import (
_ "github.com/ebitengine/hideconsole"
)