title: Exported functions from another package
body: <p>I am following instructions in <a href="https://golang.org/doc/code.html#Workspaces" rel="noreferrer">https://golang.org/doc/code.html#Workspaces</a> link and I build my first Go program.</p>
  
  <p>So, I tried to make library with this instruction = <a href="https://golang.org/doc/code.html#Library" rel="noreferrer">https://golang.org/doc/code.html#Library</a></p>
  
  <p>and everything is perfect until building hello.go, its gives me this error.</p>
  
  <blockquote>
    <p>/hello.go:10:13: undefined: stringutil.Reverse</p>
  </blockquote>
  
  <p>I've already rebuild my <code>reverse.go.</code></p>
  
  <p>Thats my code:</p>
  
  <pre><code>package main
  
  import (
      "fmt"
  
      "github.com/d35k/stringutil"
  )
  
  func main() {
      fmt.Printf(stringutil.Reverse("!oG ,olleH"))
  }
  </code></pre>
  
  <p>that's my reverse.go (same as docs)</p>
  
  <pre><code>package stringutil
  
  func reverse(s string) string {
      r := []rune(s)
      for i, j := 0, len(r)-1; i &lt; len(r)/2; i, j = i+1, j-1 {
          r[i], r[j] = r[j], r[i]
      }
      return string(r)
  }
  </code></pre>
  
  <p>and my gopath variable</p>
  
  <pre><code>export GOPATH=$HOME/GoLang
  </code></pre>
  
  <p>and my files ar in </p>
  
  <pre><code>GoLang/src/github.com/mygithubusername/
  </code></pre>