github.com/hyperledger-labs/bdls@v2.1.1+incompatible/integration/chaincode/marbles_private/cmd/main.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package main 8 9 import ( 10 "fmt" 11 "os" 12 13 "github.com/hyperledger/fabric-chaincode-go/shim" 14 "github.com/hyperledger/fabric/integration/chaincode/marbles_private" 15 ) 16 17 func main() { 18 err := shim.Start(&marbles_private.MarblesPrivateChaincode{}) 19 if err != nil { 20 fmt.Fprintf(os.Stderr, "Exiting Simple chaincode: %s", err) 21 os.Exit(2) 22 } 23 }