datastore: variadic Get, Put, Exists, Delete. Fixes #51. Update Get, Put, Exists, and Delete to be variadic. This will make the interface more usable and get rid of boilerplate in client code. Get, Put, Exists, and Delete now accept variadic arguments. Any one of these arguments can be an argument that was previously valid or the *Multi version of those functions. This effectively obsoletes the *Multi versions, but they are left in for backwards compatiblility with the stated intention of removing them at a later date. Get/Put/Exists/Delete will now return a single error in the one-argument case or a MultiError in a multiple-argument case. Note that now that single argument case can take a slice type, the single error may itself be a MultiError if the single argument is a slice. Review-Url: https://codereview.chromium.org/2011773002
designed for testing and extensibility
(but generally it should be pretty stableish).
go get -u github.com/luci/gae/...
See the godocs.
master contains the latest code.user.email and user.name are configured in git config.go get -u github.com/maruel/pre-commit-go/cmd/... && pcgRun the following to setup the code review tool and create your first review:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools export PATH="$PATH:$HOME/src/depot_tools" cd $GOROOT/github.com/luci/gae git new-branch work # or `git checkout -b work origin/master` if you like typing more. # hack hack git commit -a -m "This is awesome\[email protected]" # This will ask for your Google Account credentials. git cl upload -s # Wait for LGTM over email. # Check Commit Queue checkbox in Rietveld codereview site. # See it tested and landed automatically.
Use git cl help and git cl help <cmd> for more details.