Initial types and interfaces

This commit is contained in:
2020-12-25 21:22:45 -05:00
parent 80bce1ef8d
commit 12099a2847
7 changed files with 47 additions and 1 deletions

11
datatypes/skin.go Normal file
View File

@@ -0,0 +1,11 @@
package datatypes
// Skin struct holds the
type Skin struct {
Name string `json:"name"`
Location string `json:"location"`
Metadata map[string]string `json:"metadata"`
}
// Skins are an array of Skin
type Skins []Skin