package model type Parser struct { Identity string TorrentParser TorrentParserFunc FileParser FileParserFunc PostEncoding string } func (p Parser) String() string { return p.Identity }