GO lang syntax error: unexpected name, expecting )
You are passing types when calling methods
Use
response :=models.UserPrefer(cc, userID, key, value)
instead of
response :=models.UserPrefer(cc, userID int64, key string, value string)
While calling a function just pass the parameter. You do not need to pass the type of parameter.