This is a creation in Article, where the information may have evolved or changed.
When the hard drive is broken, it's time to put something in the back of the pack, so decide to write it down.
To golang.org download the installation package if the wall changes to host Windows directly download that MSI installed
Linux download down unzip yourself set the environment variable run that All.bash (like this)
then run the input go output help message on the command line that the installation was successful
download sublime text2
Install sublime text plug-in Manager press CTRL + ' enter
import Urllib2,os; Pf= ' Package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) if not os.path.exists (IPP) else None; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); Open (Os.path.join (IPP,PF), ' WB '). Write (Urllib2.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 '). Read () ); print ' Restart Sublime text to finish installation '
restart Sublime text will have one more package Control under Perferences menu item
Install Gocode code automatically prompts for
address Github.com/nsf/gocode
Go get Github.com/nsf/gocode
Go Install Github.com/nsf/gocode
If go get is not successfully downloaded directly to GitHub and placed in the src/pkg/directory of the Go installation folder then Goinstall
Finally open sublime text
Point package Control->install package->gosublime installation is ready for restart.
Ctrl+b compiling smart code hints, etc.