This commit is contained in:
crusader 2018-06-13 20:21:42 +09:00
parent fc48f5981a
commit 687985e7f2

View File

@ -5,7 +5,7 @@ type Keys struct {
Key string `json:"key,omitempty"` Key string `json:"key,omitempty"`
} }
func KeysToMap(keys []Keys) map[string]string { func KeysToMap(keys []*Keys) map[string]string {
m := make(map[string]string) m := make(map[string]string)