Comments (2)
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)
from clover.
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
from clover.
Related Issues (20)
- Small v2 package annoyance HOT 10
- Question: Searching for all documents within time range HOT 1
- distributed? HOT 8
- Support struct in Save() method HOT 7
- Add `OpenWithOptions()` to badger store
- Memory efficient `ExportCollection()` HOT 1
- need update readme HOT 2
- Hope to support semantic query building function HOT 9
- Memory store was removed in v2 HOT 1
- doc.Unmarshal does not play well with `json` tag HOT 5
- Badger storage | RunValueLogGC() is managed with a fatal error HOT 3
- using BadgerDB: DropCollection returns a "Txn is too big to fit into one request" HOT 3
- Why is the _id a uuid
- Unmarshalling with embedded structs is failing HOT 1
- Unclear documentation for updating document by ID HOT 2
- using badger as shown in readme does not work HOT 1
- Panic in ToInt64 Function in util package When Handling int32 and smaller integer Types HOT 2
- Fixed TestPagedQueryUsingIndex failure HOT 2
- clover.Open("path") doesn't make the directory automatically if not found in clover/v2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clover.