Skip to content

Instantly share code, notes, and snippets.

@tylerstillwater
Created June 22, 2020 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylerstillwater/c0ce3756a71cc3c950223652e8a87212 to your computer and use it in GitHub Desktop.
Save tylerstillwater/c0ce3756a71cc3c950223652e8a87212 to your computer and use it in GitHub Desktop.
Comma inserted when autocompleting
package main
type child struct {
name string
}
type parent struct {
childName string
}
func main() {
susie := child{name: "susie"}
_ = parent{
childName: // autocomplete susie.name here,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment