0

我目前正在学习 Go,并且正在使用Sublime Text 3插件SublimeLinter(我使用除 Go 之外的其他语言)。我已经使用Homebrew(我在 OS X 上)下载了 Go,并且我按照此处说明的程序进行了操作:https ://golang.org/doc/install以测试我的安装。我不明白为什么提供的 Go 语言的 linterSublimeLinter不起作用。我已经将 my 插入$GOPATH到我的PATH,中/usr/local/bin/go。这是打印 ST 控制台的内容:

SublimeLinter: golint activated: /Users/gianmarco/Documents/Dev/Go/bin/golint 
Emmet: No need to update PyV8
SublimeLinter: chdir not set or invalid, using /Users/gianmarco/Documents/Dev/Go/src/github.com/gianmarco/hello 
SublimeLinter: golint: hello.go guessed GOPATH=/Users/gianmarco/Documents/Dev/Go 
SublimeLinter: golint: hello.go ['/Users/gianmarco/Documents/Dev/Go/bin/golint'] 
Package Control: Skipping automatic upgrade, last run at 2015-11-28 11:58:34, next run at 2015-11-28 12:58:34 or after
SublimeLinter: chdir not set or invalid, using /Users/gianmarco/Documents/Dev/Go/src/github.com/gianmarco/hello 
SublimeLinter: golint: hello.go guessed GOPATH=/Users/gianmarco/Documents/Dev/Go 
SublimeLinter: golint: hello.go ['/Users/gianmarco/Documents/Dev/Go/bin/golint'] 
SublimeLinter: chdir not set or invalid, using /Users/gianmarco/Documents/Dev/Go/src/github.com/gianmarco/hello 
SublimeLinter: golint: hello.go guessed GOPATH=/Users/gianmarco/Documents/Dev/Go 
SublimeLinter: golint: hello.go ['/Users/gianmarco/Documents/Dev/Go/bin/golint']

有人有同样的问题吗?

4

0 回答 0