Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Art ¶
type Art struct { Height int `json:"height"` Legend map[string]string `json:"legend"` Name string `json:"name"` Pixels []string `json:"pixels"` SysInfo *sysinfo.SysInfo `json:"-"` Width int `json:"width"` }
Art is a struct containing the necessary data to convert an ArTTY JSON file to pixel art.
func NewFromJSON ¶
NewFromJSON is a constructor for the Art type that takes a JSON blob.
Click to show internal directories.
Click to hide internal directories.