Have not been able to rescue sublime text from module confusion. It is sad on startup with:
| GoSublime error: MarGo build failed | > This is possibly a bug or miss-configuration of your environment. | > For more help, please file an issue with the following build output | > at: https://github.com/DisposaBoy/GoSublime/issues/new | > or alternatively, you may send an email to: gosubl...@dby.me | > | > | > cmd: `['~/go/bin/go', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r18.07.22-1_devel..7765576e09.exe', 'gosublime/cmd/margo']` | > stdout: ` | > | > ` | > stderr: ` | > can't load package: package gosublime/cmd/margo: unknown import path "gosublime/cmd/margo": cannot find module providing package gosublime/cmd/margo | > ` | > exception: `None` | install state: busy | sublime.version: 3200 | sublime.channel: stable | about.ann: a18.07.31-1 | about.version: r18.07.22-1 | version: r18.07.22-1 | platform: osx-x64 | ~bin: ~/Library/Application Support/Sublime Text 3/Packages/User/GoSublime/osx-x64/bin | margo.exe: ~bin/gosublime.margo_r18.07.22-1_devel..7765576e09.exe (missing) | go.exe: ~/go/bin/go (ok) | go.version: devel..7765576e09 | GOROOT: ~/go | GOPATH: ~/Documents/gocode | GOBIN: (not set) | set.shell: [] | env.shell: /bin/bash | shell.cmd: ['/bin/bash', '-l', '-c', '${CMD}'] | sh.bootstrap: | > using shell env GOPATH=~/Documents/gocode | > using shell env GOROOT=~/go | > using shell env PATH=/opt/local/bin:/opt/local/sbin:~/go/bin:~/Documents/gocode/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:~/go/bin:~/Documents/gocode/bin:/opt/local/bin:/opt/local/sbin:~/bin:/usr/local/opt/go/bin | > go version: `devel..7765576e09` (raw version string `devel +7765576e09 Fri Mar 15 23:27:36 2019 +0000`) | > shell bootstrap took 0.178s | > ...and I've yet to find a form of go.mod that mollifies the compiler. I've tried placing the mod file in ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosublime/cmd/margo and various places near there. I've tried various ways of saying "the files are over here." But no success yet, I hope this smoothes out -- for code not related to whatever the virtue will be. -- *Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>* -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.