qmgo
qmgo copied to clipboard
Automatically fills Go default values
trafficstars
If insert document with field of slice type without initialization, filed will be null in MongoDB, which may cause operation error(e.g. $push to null error).
Qmgo can initial fields to default value as mgo does.
We can Implement this in package field.
excuse me, can you tell me how to use it?
install slice is null, hope []
@jiangz222 worry... thanks !