Initial types and interfaces
This commit is contained in:
11
datatypes/skin.go
Normal file
11
datatypes/skin.go
Normal 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
|
||||
Reference in New Issue
Block a user