Clean up types more

This commit is contained in:
Justin Li
2014-07-17 01:14:50 -04:00
parent 9dde295b7c
commit 67a8473f6e
4 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ func loadTestData(tkr *tracker.Tracker) error {
torrent := &models.Torrent{
ID: 1,
Infohash: infoHash,
Seeders: make(map[string]models.Peer),
Leechers: make(map[string]models.Peer),
Seeders: models.PeerMap{},
Leechers: models.PeerMap{},
}
return conn.PutTorrent(torrent)