github.com/hellobchain/third_party@v0.0.0-20230331131523-deb0478a2e52/hyperledger/fabric-config/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/hellobchain/third_party/hyperledger/fabric-config/protolator"
    11  	mspext2 "github.com/hellobchain/third_party/hyperledger/fabric-config/protolator/protoext/mspext"
    12  )
    13  
    14  // ensure structs implement expected interfaces
    15  var (
    16  	_ protolator.VariablyOpaqueFieldProto = &mspext2.MSPConfig{}
    17  	_ protolator.DecoratedProto           = &mspext2.MSPConfig{}
    18  
    19  	_ protolator.VariablyOpaqueFieldProto = &mspext2.MSPPrincipal{}
    20  	_ protolator.DecoratedProto           = &mspext2.MSPPrincipal{}
    21  )