timshannon / bolthold

BoltHold is an embeddable NoSQL store for Go types built on BoltDB
MIT License
648 stars 46 forks source link

Exported function store.IndexExists requires unexported argument type bucketSource #79

Closed freakinhippie closed 4 years ago

freakinhippie commented 4 years ago

I'm attempting to use bolthold and when I tried to test if an index is available using the store.IndexExists() function I came across this issue. I'm pretty new to golang so maybe I'm missing something but I think the interface type definition in store.go should be exported.

timshannon commented 4 years ago

Yep, you're absolutely right. I'll fix it up.

Thanks,

timshannon commented 4 years ago

Grabbing the latest from master should have BucketSource exported.

Let me know if you run into any issues.

Thanks,