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
var lines []string
scanner := bufio.NewScanner(file)
for scanner.Scan() {
lines = append(lines, scanner.Text())
}
When I try to lookup documentation for Scan(), GoDocBrowser tries to open https://godoc.org/scanner#Scan as if scanner is a package name and if course it's not correct.
The text was updated successfully, but these errors were encountered:
Thanks @ersiner for reporting. I'm aware of this problem. We need to change :GoDoc to find the underlying identifier to match and jump to the doc directly. I'm closing this in favor of the duplicate already open issue #332 (which is not yet resolved).
Consider the following code snippet:
When I try to lookup documentation for
Scan()
, GoDocBrowser tries to open https://godoc.org/scanner#Scan as ifscanner
is a package name and if course it's not correct.The text was updated successfully, but these errors were encountered: