GO lang syntax error: unexpected name, expecting )
<p>I have started learning <strong>Go lang</strong> recently.I have spend couple of hours but can't figure out what's wrong with this.</p>

<p><strong>Here is my code:</strong> </p>

<pre><code>func preference(cc *core.ComponentContext, w http.ResponseWriter, req *http.Request){

userID, err := core.PostParam(req, "user_id")
key, err := core.PostParam(req, "key")
value, err := core.PostParam(req, "value")  
if err != nil {
    cc.Error("Error reading the user id:", err.Error())
    msg := fmt.Sprintf("user_id: %s", err.Error())
    http.Error(w, msg, http.StatusBadRequest)
    return
}

response :=models.UserPrefer(cc, userID int64, key string, value string) --&gt; compile time error

b, err := json.Marshal(response)
if err != nil {
    http.Error(w, "Internal Error", http.StatusInternalServerError)
    return
}
fmt.Fprintf(w, string(b[:]))
</code></pre>

<p>}</p>

<p>Following error is throw <strong>syntax error: unexpected name, expecting )</strong>
it's probably simple, but with my limited knowledge in Go lang I can't figure out.</p>