Guest User

Untitled

a guest
May 25th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. // Car struct for chaincode state
  2. type Car struct {
  3. Id string
  4. Title string
  5. Owner string
  6.  
  7. UpdatedAt time.Time // set by chaincode method
  8. }
  9.  
  10. // CarPayload chaincode method argument
  11. type CarPayload struct {
  12. Id string
  13. Title string
  14. Owner string
  15. }
Add Comment
Please, Sign In to add comment