top | item 40497423

(no title)

d-z-m | 1 year ago

it means: this is normally how imports in Go work, is it not?

discuss

order

remram|1 year ago

What is how it works? How is it normal?

I posted a criticism of Go, I don't know what you mean by "this is how it normally works".

d-z-m|1 year ago

I'm saying that when I import something, "foo/bar" "bar/baz" etc, The way I access the exposed functions and types in that package usually corresponds to the basename. e.g. bar.* for the first example, and baz.* for the second example. Is your criticism of Go that it is technically not required for this to be the case?