5 Selectors in go

medium.com posted by kenny 2631 days ago  

Expression foo.bar can mean two things in Go. If foo is a package name then expression is a so-called qualified identifier referencing exported identifier bar from package foo. If foo isn’t a package name then foo.bar is a selector expression

Register to comment or vote on this story