title: in go, don't we need to import another file in same directory if we want to use function defined in that file?
body: <p>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.</p>
  
  <pre><code>FolderA-
  -------- FileA.go
  ---------FileB.go
  </code></pre>
  
  <p>In FileB.go, I define method Foo()</p>
  
  <p>In FileA.go, I want to call Foo() which defined in FileB.go.</p>
  
  <p>Do I need to import FileB in FileA.go like this?</p>
  
  <pre><code>import ("FileB")
  </code></pre>