Remove the space after the comma before omitempty
, then the error message will go away.
bson:"password" json:"password,omitempty"
(should be like this)
In addition, this is a warning not an error. You should still be able to run your project.
Remove the space after the comma before omitempty
, then the error message will go away.
bson:"password" json:"password,omitempty"
(should be like this)
In addition, this is a warning not an error. You should still be able to run your project.