From 2d142f149320d05a0012c528114d94e171f69171 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 12 Jun 2016 02:34:32 +0200 Subject: Path is slice --- torrent/torrent.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/torrent/torrent.go b/torrent/torrent.go index 533db86..256887f 100644 --- a/torrent/torrent.go +++ b/torrent/torrent.go @@ -3,9 +3,9 @@ package torrent import "time" type File struct { - Length int `bencode:"length"` - MD5Sum []byte `bencode:"md5sum,optional"` - Path string `bencode:"path"` + Length int `bencode:"length"` + MD5Sum []byte `bencode:"md5sum,optional"` + Path []string `bencode:"path"` } type Info struct { -- cgit v1.2.3