Data : TYPE OF Json
var member Member // struct where json
data, err :=json.Marshall(member); if err != nil{ fmt.Printf("Error %s",err)}
fmt.Printf("Data", data)
err = json.NewDecoder(request.Body).Decode(&member); if err != nil {fmt.Printf("Error %s",err) // this is print "EOF"}
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/1cedee73-bbe3-471a-a3ea-927735b85cbd%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/950a3753-88bf-4748-ab58-e59707914b67%40googlegroups.com.