title: Golang - User of package without selector
body: <p>Please, I searched this a lot and after not been able to find, I am writing and not that I didn't try to search all over first. Couldn't get the right answer. I even tried to check Revel's function and couldn't get the answer from there as well. </p>
  
  <p>When I run this program I get this error for line </p>
  
  <pre><code>./test.go:11: use of package http without selector
  </code></pre>
  
  <p>This error points at the line below where I have written </p>
  
  <pre><code>*http
  </code></pre>
  
  <p>inside the struct</p>
  
  <p>Confusing part is that with test and dot I even get auto complete with VIM. So I don't know why is the error. Is it that it has to be somewhat like </p>
  
  <pre><code>*(net/http)
  </code></pre>
  
  <p>or something like that ? </p>
  
  <pre><code>package main
  
  import (
      "fmt"
      "net/http"
  )
  
  type HandleHTTP struct {
      *http
  }
  
  func handler(w http.ResponseWriter, r *http.Request) {
      fmt.Fprintf(w, "Path is %s", r.URL.Path[1:])
  
  }
  
  func main() {
  
      test := HandleHTTP{}
  
      test.http.HandleFunc("/", handler)
      test.http.ListenAndServe(":8080", nil)
  
  }
  </code></pre>