packageifaceimport(peer"github.com/libp2p/go-libp2p-core/peer"mbase"github.com/multiformats/go-multibase")funcFormatKeyID(idpeer.ID)string{ifs,err:=peer.ToCid(id).StringOfBase(mbase.Base36);err!=nil{panic(err)}else{returns}}// FormatKey formats the given IPNS key in a canonical way.funcFormatKey(keyKey)string{returnFormatKeyID(key.ID())}