github.com/fnagchunpeng/fabric@v2.1.1+incompatible/core/chaincode/platforms/golang/testdata/src/chaincodes/BadMetadataUnexpectedFolderContent/main.go (about)

     1  /*
     2   * Copyright Greg Haskins All Rights Reserved
     3   *
     4   * SPDX-License-Identifier: Apache-2.0
     5   *
     6   */
     7  
     8  package main
     9  
    10  import (
    11  	"fmt"
    12  
    13  	"github.com/hyperledger/fabric-chaincode-go/shim"
    14  )
    15  
    16  // SimpleChaincode example simple Chaincode implementation
    17  type SimpleChaincode struct {
    18  }
    19  
    20  func main() {
    21  	err := shim.Start(new(SimpleChaincode))
    22  	if err != nil {
    23  		fmt.Printf("Error starting Simple chaincode: %s", err)
    24  	}
    25  }