Closed giesan closed 6 months ago
This snippet results in a slice with 4 documents, with the first 2 being nil
. Try replacing:
var docs = make([]*d.Document, 2)
with:
var docs = make([]*d.Document, 0, 2)
Hello Stefano, thank you for your reply. I have now also found the solution. Sorry, that was my mistake. I close this issue. Many thanks and best regards andy
Hello everyone,
I am currently using version v2.0.0-alpha.3 and get the following error message when using the db.Insert function
Here is my code I tried with.
Am I doing something wrong? Best regards andy