在Sublime Text 3中运行Golang项目

I cannot find a suitable solution for my needs with running a Go project inside a Sublime Text 3 and seeing it's output in real-time.

If I try a build system from:

  1. GoSublime - I can use run, it even runs and stops, but there is no output, which I need. It appears only when I cancel build - it's too late.

  2. Official Golang Build from Go developers - I can build the project, and that's it. It allows to run 1 file (current) only, but I need the whole project.

    I've tried to use flags for run command and to add *.go, but then I get *.go: no such file or directory

How do I see the output in real-time in one of these solutions? I've tried to create my own build system with shell_cmd = go run *.go, but stopping the process with Cancel build is not working then. Maybe you can explain how do I stop a running Go program? My mybuild.sublime-build is similar to this:

{
    "env": {
        "GOROOT": "/path/gosrc/go",
        "GOPATH": "/path/godev"
    },
    "path": "$PATH:/path/gosrc/go/bin",
    "working_dir": "/path/godev/src/github.com/user/program",
    "cmd": "go run *.go",
    "shell": true
}

..I can run Build and see the needed output, but how do I then stop a running process?

P.S. Program is not just executing and exiting - it's a service, so I should see the output when the needed actions happens.

I personally use GoSublime and go build . followed by running the app by name as a second command. Obviously this sucks in a lot of ways, but it kinda sorta works most of the time. It provides a nice fast way to check for compile errors, which is most of what I need.

Honestly, just running in a dedicated shell is nicer in every way.

AFAIK, there is no better Go build system available for Sublime Text (that isn't an endorsement, it sucks, just less than most).