Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func LoadMetadatas ¶
func LoadMetadatas() error
func WriteDataToFile ¶
func WriteDataToFile(data interface{}, filePath string)
Types ¶
type Metadata ¶
type Metadata struct { Attributes []MetadataAttribute `json:"-"` Name string `json:"name"` Description string `json:"description"` Image string `json:"image"` TokenID int64 `json:"token_id"` ContractAddress common.Address `json:"-"` Score Score `json:"score,omitempty"` }
func ReadMetadataFromFile ¶
type MetadataAttribute ¶
Click to show internal directories.
Click to hide internal directories.