github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/test/chaincodes/BadImport/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  	"github.com/hyperledger/fabric/core/chaincode/shim"
    12  	"fmt"
    13  	"bogus/package"
    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  }