Hi there, recently I’m trying to make a p2p network using Go. I used libp2p at first but that repo is archived in github. So the guys told me to move in libp2p-core. Now I’m having a hard time trying to migrate from this:
Hi thanks for the reply and questions I will clear them out.
Actually you are right about go-libp2p is not archived i made that error. The thing is that when run my code it shows an error saying something like this:
go run p2p_test.go
../email@example.com/deprecated.go:94:18: undefined: helpers.EOFTimeout
../firstname.lastname@example.org/deprecated.go:97:22: undefined: helpers.ErrExpectedEOF
../email@example.com/deprecated.go:101:9: undefined: helpers.FullClose
../firstname.lastname@example.org/deprecated.go:106:9: undefined: helpers.AwaitEOF
So i made an issue on go-libp2p-net and it’s developers said that it is deprecated and I should switch to go-lib-core. But when i asked for support on a discord server for Go, they said that the lib was archived.
In the technical terms I want that the packages of the old lib get replaced with the new ones like for example from this libp2p "github.com/libp2p/libp2p" to libp2p "github.com/libp2p/libp2p-core
Yeah “the guys” were from libp2p team. I raised the issue but they didn’t help me. Also they don’t have any documentation on how to do it.