diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-04-29 00:22:40 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-04-29 00:22:40 +0200 |
commit | f3884f9607f319d51d2ee85c29c52a1fcacaa8b6 (patch) | |
tree | 1b37b1e95c9e4d027cf2e1229e98c26aeedecce4 /media.go | |
parent | 4bfd597d4b6916937658d42b8d459d920bd632ff (diff) |
Rename media map
Diffstat (limited to 'media.go')
-rw-r--r-- | media.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,11 +10,11 @@ type Media struct { FC int // FC ? } -var MediaMap = make(map[int]Media) +var MediaID = make(map[int]Media) func init() { for _, m := range Medias { - MediaMap[m.ID] = m + MediaID[m.ID] = m } } |