I was working in Google CLoud and all was fine.. but when I clone all my project in my PC, I have this messages in every JSON struct.
struct field tag bson:"edad" json:"edad, omitempty"
not compatible with reflect.StructTag.Get: suspicious space in struct tag valuestructtag
This is my Struct
type Usuario struct {
ID bson.RawValue `bson:"_id" json:"id, omitempty"`
Nombre string `bson:"nombre" json:"nombre, omitempty"`
Apellidos string `bson:"apellidos" json:"apellidos, omitempty"`
Edad int `bson:"edad" json:"edad, omitempty"`
Email string `bson:"email" json:"email"`
Password string `bson:"password" json:"password, omitempty"`
}
What's wrong ?
Thanks