Daniel Alm c6d41e46b1 Also run `swiftformat` on the code samples. 8 роки тому
..
Sources c6d41e46b1 Also run `swiftformat` on the code samples. 8 роки тому
Makefile 9ca08f873a Make the extension for generated files be ".grpc.swift" 8 роки тому
Package.swift 11086e936b Update Examples for 0.3.3 8 роки тому
README.md 63cfec0858 New Spanner sample and top-level README for Google examples. 8 роки тому
RUNME 9ce9d6914e Rename generated files to "<FILE>.rpc.swift". 8 роки тому

README.md

Calling the Google Cloud Datastore API

This directory contains a very simple sample that calls the Google Cloud Datastore API. Calls are made directly to the Datastore RPC interface. In practice, these would be wrapped in idiomatic code.

Use RUNME to generate the necessary Protocol Buffer and gRPC support code. It uses protoc and the Swift Protocol Buffer and gRPC plugins, so please be sure these are in your path. The plugins can be built by running make in the top-level Plugins directory.

Prerequisites

Please be sure to perform the preliminary steps in Examples/Google/README.