func New(name string) *DocumentCC {
	cc := &DocumentCC{
		name: name,
	}
	return cc
}
New returns chaincode
package doc
import (
	"github.com/hyperledger/fabric-chaincode-go/shim"
	pb "github.com/hyperledger/fabric-protos-go/peer"
	"github.com/hyperledger/fabric/common/flogging"
	ccapi "github.com/hyperledger/fabric/extensions/chaincode/api"
	"github.com/trustbloc/sidetree-fabric/pkg/observer"
)
var logger = flogging.MustGetLogger("sidetree_chaincode")
const (
	ccVersion = "v1"
	couchDB       = "couchdb"
	docsCollIndex = `{"index": {"fields": ["uniqueSuffix"]}, "ddoc": "indexUniqueSuffixDoc", "name": "indexUniqueSuffix", "type": "json"}`
)
type DocumentCC struct {
	name string
}