Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Add documentation to Readme for mobile support (iOS/Android) #478

Merged
merged 3 commits into from
Jan 11, 2016

Conversation

TrevorSStone
Copy link
Contributor

Resolves #433

@benbjohnson
Copy link
Member

lgtm. Is the BoltDB wrapper so that gomobile can generate Android/iOS wrapper functions? I haven't used the tool before.

Can you squash the commits and then I'll merge it in.

@TrevorSStone
Copy link
Contributor Author

The BoltDB wrapper is what iOS and Android can bind to. Instead of exposing bolt and all of it's methods to java or objc, the logic should all be done in the go layer. The BoltDB struct would most likely be named something else in a real app and then handle all of the storing and retrieving of data specific to the app.

I did not really explore exposing just the base DB type. Hypothetically this might be possible (and do all bolt interaction from java directly) but gobind does have limited type support, and the example I wrote would be the cleaner implementation.

Thanks for looking at the PR, I'll condense the commits when I get home.

benbjohnson added a commit that referenced this pull request Jan 11, 2016
Add documentation to Readme for mobile support (iOS/Android)
@benbjohnson benbjohnson merged commit ed54c47 into boltdb:master Jan 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants