How do I make go-plus with Atom.io, which knows that I am developing on a server?

I use go-plus pluginAtom.io as the main editor for Go development . It works fine locally and linter finds any problems in the code.

But if I use something like Transmit to SFTP on my server and edit the file with Atom, if I try the importpackage that I have on my server, it will think that it is not present (because it looks local?). and linter throws an error.

How can I understand that I am on a server and look at the server for packages, etc., and not locally?

+4
source share
1 answer

go install GOPATH, :

go install: no install location for directory outside GOPATH  

, , - GOPATH .
GOPATH .

SMB mount:

mount –t smbfs 192.168.0.1:/share1 /mnt –o username=UserName,workgroup=test 

, : Samba GOPATH?

: http://www.linuxnix.com/8-ways-to-mount-smbfs-samba-file-system-in-linux/

+1

All Articles