go_study/fabric-main/protoutil/configtxutils.go

18 lines
390 B
Go

/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package protoutil
import "github.com/hyperledger/fabric-protos-go/common"
func NewConfigGroup() *common.ConfigGroup {
return &common.ConfigGroup{
Groups: make(map[string]*common.ConfigGroup),
Values: make(map[string]*common.ConfigValue),
Policies: make(map[string]*common.ConfigPolicy),
}
}