Custom Search

Friday, August 19, 2016

How to use Sublime Text 2 for Go Golang Development

1)
Goto
"Tools" == "Build System" == "New Build System"

2)
Save the file with name "go.sublime-build"
{
    "cmd": "go run $file",
    "shell" : true
}

* this file will save under /home/your-name/.config/sublime-text-2/Packages/User

3)
Goto
"Tools" == "Build System" == "New Build System"
Then select "go"

4)
Create simple go program in sublime text and select
"Tools" == "Build"


No comments:

Post a Comment