github.com/s7techlab/cckit@v0.10.5/examples/private_cars/bin/cars_noac/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/hyperledger/fabric-chaincode-go/shim"
     7  	"github.com/s7techlab/cckit/examples/cars"
     8  )
     9  
    10  func main() {
    11  	cc := cars.NewWithoutAccessControl()
    12  	if err := shim.Start(cc); err != nil {
    13  		fmt.Printf("Error starting Cars chaincode: %s", err)
    14  	}
    15  }