introduce enums as map keys
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package konstructor
|
||||
|
||||
type ItemTypeMap map[string]ItemType
|
||||
type ItemTypeMapKey string
|
||||
|
||||
type ItemTypeMap map[ItemTypeMapKey]ItemType
|
||||
|
||||
type ItemType struct {
|
||||
ID string
|
||||
|
||||
Reference in New Issue
Block a user