Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkazuo/bs-gcloud
Google Cloud Datastore bindings of BuckleScript.
https://github.com/kkazuo/bs-gcloud
bucklescript-bindings google-cloud ocaml
Last synced: about 2 months ago
JSON representation
Google Cloud Datastore bindings of BuckleScript.
- Host: GitHub
- URL: https://github.com/kkazuo/bs-gcloud
- Owner: kkazuo
- License: isc
- Created: 2017-05-21T14:19:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-21T14:36:34.000Z (over 7 years ago)
- Last Synced: 2024-10-08T03:29:26.458Z (3 months ago)
- Topics: bucklescript-bindings, google-cloud, ocaml
- Language: OCaml
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bs-gcloud
Google Cloud Datastore bindings of BuckleScript.```
npm i --save bs-gcloud
```# example
```
let module Ds = Gcloud.Datastore in
let ds = Ds.datastore () in
``````
let key = ds##key ("Book", "First") in
ds##get key begin fun[@bs] err entity ->
match Js.Undefined.to_opt entity with
| None -> Js.log err
| Some entity -> Js.log entity
end
```