Update README.md

master
Klaus Post 2015-06-22 12:03:17 +02:00
parent c7a0c49be7
commit 2ed146b387
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ To indicate missing data, you set the shard to nil before calling `Reconstruct()
data[3] = nil
data[7] = nil
// Reconstruct the missing shards
err := enc.Reconstruct(data)
```
The missing data and parity shards will be recreated. If more than 3 shards are missing, the reconstruction will fail.