You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +df91b8044d Tue Jul 25 20:31:25 2017 +0000 linux/amd64
What operating system and processor architecture are you using (go env)?
linux-amd64
What did you do?
go doc github.com/aws/aws-sdk-go/service/opsworks SomeTypo
doc: cannot find package "github.com/aws/aws-sdk-go/services/opsworks" in any of:
/home/ingo/src/go.local/src/github.com/aws/aws-sdk-go/services/opsworks (from $GOROOT)
/home/ingo/go/src/github.com/aws/aws-sdk-go/services/opsworks (from $GOPATH)
What did you expect to see?
doc: package "github.com/aws/aws-sdk-go/services/opsworks" does not contain a symbol named "SomeTypo".
What did you see instead?
The error statement is just wrong, because actually there is such a package in my environment.
Such error statements make fixing local installations confusing and time consuming.
The text was updated successfully, but these errors were encountered:
$ go get github.com/aws/aws-sdk-go
$ go doc github.com/aws/aws-sdk-go/service/opsworks SomeTypo
doc: no symbol SomeTypo in package github.com/aws/aws-sdk-go/service/opswork
There must be something wrong with your environment.
Also you wrote (in What did you do?) that you run
go doc github.com/aws/aws-sdk-go/service/opsworks SomeTypo
with "services" with an "s" ? While in the command you pasted is /service/ with no "s"?
ALTree
changed the title
go doc returns wrong error message about missing package, where just the function name is wrong.
cmd/go: doc returns wrong error message about missing package, where just the function name is wrong.
Jul 26, 2017
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +df91b8044d Tue Jul 25 20:31:25 2017 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?linux-amd64
What did you do?
What did you expect to see?
doc: package "github.com/aws/aws-sdk-go/services/opsworks" does not contain a symbol named "SomeTypo".
What did you see instead?
The error statement is just wrong, because actually there is such a package in my environment.
Such error statements make fixing local installations confusing and time consuming.
The text was updated successfully, but these errors were encountered: