github.com/yimialmonte/fabric@v2.1.1+incompatible/common/tools/protolator/protoext/ordererext/ordererext_test.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package ordererext_test
     8  
     9  import (
    10  	"github.com/hyperledger/fabric/common/tools/protolator"
    11  	"github.com/hyperledger/fabric/common/tools/protolator/protoext/ordererext"
    12  )
    13  
    14  // ensure structs implement expected interfaces
    15  var (
    16  	_ protolator.DynamicMapFieldProto       = &ordererext.DynamicOrdererGroup{}
    17  	_ protolator.DecoratedProto             = &ordererext.DynamicOrdererGroup{}
    18  	_ protolator.VariablyOpaqueFieldProto   = &ordererext.ConsensusType{}
    19  	_ protolator.DecoratedProto             = &ordererext.ConsensusType{}
    20  	_ protolator.DynamicMapFieldProto       = &ordererext.DynamicOrdererOrgGroup{}
    21  	_ protolator.DecoratedProto             = &ordererext.DynamicOrdererOrgGroup{}
    22  	_ protolator.StaticallyOpaqueFieldProto = &ordererext.DynamicOrdererConfigValue{}
    23  	_ protolator.DecoratedProto             = &ordererext.DynamicOrdererConfigValue{}
    24  	_ protolator.StaticallyOpaqueFieldProto = &ordererext.DynamicOrdererOrgConfigValue{}
    25  	_ protolator.DecoratedProto             = &ordererext.DynamicOrdererOrgConfigValue{}
    26  )