fabric-samples/full-stack-asset-transfer-guide/contracts/asset-transfer-go/src/asset.go
nXtCyberNet d62b51853d corrected some logs based on the typescript implementation
Signed-off-by: nXtCyberNet <rohantech2005@gmail.com>
2026-03-11 22:05:12 +05:30

14 lines
349 B
Go

package main
type OwnerIdentifier struct {
Org string `json:"org"`
User string `json:"user"`
}
type Asset struct {
AppraisedValue int `json:"AppraisedValue"`
Color string `json:"Color"`
ID string `json:"ID"`
Owner string `json:"Owner"` // JSON-encoded OwnerIdentifier
Size int `json:"Size"`
}