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
Using the commit 7d7514f (latest at the time of writing). In the following example the struct private fields are show in the completion suggestion as well as properly highlighted / resolved to the right fields of the original struct.
package main import"net/http"funcmain() { tr:=&http.Transport{ wantIdle: false, // this field shouldn't be resolvedidleCo<cursor>// here there shouldn't be shown any completion values } _=tr }
The error the compiler shows is: unknown http.Transport field 'wantIdle' in struct literal