in go, don't we need to import another file in same directory if we want to use function defined in that file? For example.
FolderA-
-------- FileA.go
---------FileB.go
In FileB.go, I define method Foo()
In FileA.go, I want to call Foo() which defined in FileB.go.
Do I need to import FileB in FileA.go like this?
import ("FileB")