github.com/lzy4123/fabric@v2.1.1+incompatible/common/tools/protolator/protoext/mspext/mspext_test.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package mspext_test
     8  
     9  import (
    10  	"github.com/hyperledger/fabric/common/tools/protolator"
    11  	"github.com/hyperledger/fabric/common/tools/protolator/protoext/mspext"
    12  )
    13  
    14  // ensure structs implement expected interfaces
    15  var (
    16  	_ protolator.VariablyOpaqueFieldProto = &mspext.MSPConfig{}
    17  	_ protolator.DecoratedProto           = &mspext.MSPConfig{}
    18  
    19  	_ protolator.VariablyOpaqueFieldProto = &mspext.MSPPrincipal{}
    20  	_ protolator.DecoratedProto           = &mspext.MSPPrincipal{}
    21  )