packagecidimport(mh"github.com/multiformats/go-multihash")// NewPrefixV0 returns a CIDv0 prefix with the specified multihash type.// DEPRECATED: Use FormatV0funcNewPrefixV0(mhTypeuint64)Prefix{returnPrefix{MhType:mhType,MhLength:mh.DefaultLengths[mhType],Version:0,Codec:DagProtobuf,}}// NewPrefixV1 returns a CIDv1 prefix with the specified codec and multihash// type.// DEPRECATED: Use FormatV1funcNewPrefixV1(codecTypeuint64,mhTypeuint64)Prefix{returnPrefix{MhType:mhType,MhLength:mh.DefaultLengths[mhType],Version:1,Codec:codecType,}}