docs: remove extra ) on the example README
David Dias committed
Oct 29, 2019 at 09:16 UTC
79d5cede21ae919ae1870f7e65c7516cf67f67e1
1 file changed
+13
-13
docs/examples/go-ipfs-as-a-library/README.md
+13
-13
@@ -83,30 +83,30 @@ As soon as you construct the IPFS node instance, the node will be running.
83
84
### Part 2: Adding a file and a directory to IPFS
85
86
-- [Prepare the file to be added to IPFS](./main.go#L166-L184))
87
-- [Add the file to IPFS](./main.go#L240-L243))
88
-- [Prepare the directory to be added to IPFS](./main.go#L186-L198))
89
-- [Add the directory to IPFS](./main.go#L252-L255))
86
+- [Prepare the file to be added to IPFS](./main.go#L166-L184)
87
+- [Add the file to IPFS](./main.go#L240-L243)
88
+- [Prepare the directory to be added to IPFS](./main.go#L186-L198)
89
+- [Add the directory to IPFS](./main.go#L252-L255)
90
91
### Part 3: Getting the file and directory you added back
92
93
-- [Get the file back](./main.go#L265-L268))
94
-- [Write the file to your local filesystem](./main.go#L270-L273))
95
-- [Get the directory back](./main.go#L277-L280))
96
-- [Write the directory to your local filesystem](./main.go#L282-L285))
93
+- [Get the file back](./main.go#L265-L268)
94
+- [Write the file to your local filesystem](./main.go#L270-L273)
95
+- [Get the directory back](./main.go#L277-L280)
96
+- [Write the directory to your local filesystem](./main.go#L282-L285)
97
98
### Part 4: Getting a file from the IPFS network
99
100
-- [Connect to nodes in the network](./main.go#L293-L310))
101
-- [Get the file from the network](./main.go#L318-L321))
102
-- [Write the file to your local filesystem](./main.go#L323-L326))
100
+- [Connect to nodes in the network](./main.go#L293-L310)
101
+- [Get the file from the network](./main.go#L318-L321)
102
+- [Write the file to your local filesystem](./main.go#L323-L326)
103
104
### Bonus: Spawn a daemon on your existing IPFS repo (on the default path ~/.ipfs)
105
106
As a bonus, you can also find lines that show you how to spawn a node over your default path (~/.ipfs) in case you had already started a node there before. To try it:
107
108
-- [Comment these lines](./main.go#L219-L223))
109
-- [Uncomment these lines](./main.go#L209-L216))
108
+- [Comment these lines](./main.go#L219-L223)
109
+- [Uncomment these lines](./main.go#L209-L216)
110
111
## Voilá! You are now a go-ipfs hacker
112