aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-06-12 02:34:32 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-06-12 02:34:32 +0200
commit2d142f149320d05a0012c528114d94e171f69171 (patch)
treedc6265a633223aa9914c25cb0a525bd18347d740
parent65d589e3ab2c8804ae241585e744bd7a7073e480 (diff)
Path is slice
-rw-r--r--torrent/torrent.go6
1 files 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 {