Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Car struct for chaincode state
- type Car struct {
- Id string
- Title string
- Owner string
- UpdatedAt time.Time // set by chaincode method
- }
- // CarPayload chaincode method argument
- type CarPayload struct {
- Id string
- Title string
- Owner string
- }
Add Comment
Please, Sign In to add comment