mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Migrate to dep (#3972)
* Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2
This commit is contained in:
committed by
Lauris BH
parent
d7fd9bf7bb
commit
3f3383dc0a
30
vendor/github.com/pingcap/go-themis/README.md
generated
vendored
30
vendor/github.com/pingcap/go-themis/README.md
generated
vendored
@@ -1,30 +0,0 @@
|
||||
# go-themis
|
||||
[](https://travis-ci.org/pingcap/go-themis)
|
||||
|
||||
go-themis is a Go client for [pingcap/themis](https://github.com/pingcap/themis).
|
||||
|
||||
Themis provides cross-row/cross-table transaction on HBase based on [google's Percolator](http://research.google.com/pubs/pub36726.html).
|
||||
|
||||
go-themis is depends on [pingcap/go-hbase](https://github.com/pingcap/go-hbase).
|
||||
|
||||
Install:
|
||||
|
||||
```
|
||||
go get -u github.com/pingcap/go-themis
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
tx := themis.NewTxn(c, oracles.NewLocalOracle())
|
||||
put := hbase.NewPut([]byte("Row1"))
|
||||
put.AddValue([]byte("cf"), []byte("q"), []byte("value"))
|
||||
|
||||
put2 := hbase.NewPut([]byte("Row2"))
|
||||
put2.AddValue([]byte("cf"), []byte("q"), []byte("value"))
|
||||
|
||||
tx.Put(tblName, put)
|
||||
tx.Put(tblName, put2)
|
||||
|
||||
tx.Commit()
|
||||
```
|
Reference in New Issue
Block a user