fixes
This commit is contained in:
parent
4b197e5784
commit
b6ea07e5cf
|
@ -5,7 +5,11 @@ A lot of this code has been adapted from [multiaddr](https://github.com/multifor
|
|||
Multiprotocol can be initialized using a CSV file, for the CSV format see the [specification](https://github.com/vacp2p/multiprotocol).
|
||||
|
||||
```go
|
||||
err := Init("testdata/multiprotocol.csv")
|
||||
package main
|
||||
|
||||
import mp "github.com/vacp2p/go-multiprotocol"
|
||||
|
||||
err := mp.Init("testdata/multiprotocol.csv")
|
||||
if err != nil {
|
||||
print(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue