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