Change type of metainfo.Info.URLList
This commit is contained in:
parent
902e40dd67
commit
c66c4d1744
@ -17,7 +17,7 @@ type MetaInfo struct {
|
||||
Comment string `bencode:"comment,omitempty"`
|
||||
CreatedBy string `bencode:"created by,omitempty"`
|
||||
Encoding string `bencode:"encoding,omitempty"`
|
||||
URLList interface{} `bencode:"url-list,omitempty"`
|
||||
URLList []string `bencode:"url-list,omitempty"`
|
||||
}
|
||||
|
||||
// Load a MetaInfo from an io.Reader. Returns a non-nil error in case of
|
||||
|
Loading…
x
Reference in New Issue
Block a user