Update main.go
Henrique Dias committed
Dec 11, 2019 at 17:54 UTC
5a979c6ecd57e87a0b007bdcf67683d08f7ddf08
1 file changed
-4
docs/examples/go-ipfs-as-a-library/main.go
-4
@@ -57,10 +57,6 @@ func createTempRepo(ctx context.Context) (string, error) {
57
if err != nil {
58
return "", err
59
}
60
-
61
- // Add your custom configuration to the repository config
62
- // For example, you can enable sharding with:
63
- // cfg.Experimental.ShardingEnabled = true
60
61
// Create the repo with the config
62
err = fsrepo.Init(repoPath, cfg)