▲ 5 ▼ Selectors in go
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