github.com/lzy4123/fabric@v2.1.1+incompatible/protoutil/configtxutils.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package protoutil
     8  
     9  import "github.com/hyperledger/fabric-protos-go/common"
    10  
    11  func NewConfigGroup() *common.ConfigGroup {
    12  	return &common.ConfigGroup{
    13  		Groups:   make(map[string]*common.ConfigGroup),
    14  		Values:   make(map[string]*common.ConfigValue),
    15  		Policies: make(map[string]*common.ConfigPolicy),
    16  	}
    17  }