aboutsummaryrefslogtreecommitdiff
path: root/media.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-29 00:22:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-29 00:22:40 +0200
commitf3884f9607f319d51d2ee85c29c52a1fcacaa8b6 (patch)
tree1b37b1e95c9e4d027cf2e1229e98c26aeedecce4 /media.go
parent4bfd597d4b6916937658d42b8d459d920bd632ff (diff)
Rename media map
Diffstat (limited to 'media.go')
-rw-r--r--media.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/media.go b/media.go
index 8b6e014..b4a46c3 100644
--- a/media.go
+++ b/media.go
@@ -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
}
}