I'm attempting to create a Child entity based on the docs here: https://cloud.google.com/appengine/docs/standard/python/datastore/entities
When I intiate the user instance, I'm getting an error "issing ',' in argument list" even though there is only one agument.
When I attempt to assign the parent value to Prospect on initiation, I get this error:
expected '==', found '='
func sign(w http.ResponseWriter, r *http.Request) {
c := appengine.NewContext(r)
zip, err := strconv.Atoi(r.FormValue("zip"))
//user := user.Current(c)
user = Client(name: "Bryan")
// error thrown "missing ',' in argument list"
p = Prospect(parent=user )
// error thrown: expected '==', found '='
p := Prospect{
Name: r.FormValue("name"),
Zip: zip,
Date: time.Now(),
}
It looks just like the examples in the documentation, what am I doing wrong?