Closed zramsay closed 6 years ago
yes:
import ( "github.com/dot/package/unique" ) var ordinary *unique.Whatever
no:
import ( . "github.com/dot/package/unique" ) var ordinary *Whatever
I think it depends on the situation. It should generally be avoided but there are places in our code where it makes sense.
yes:
no: