Skip to content

Commit b14be87

Browse files
committed
make NewParserWithConfig return Parser interface
1 parent a6faf04 commit b14be87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/demoinfocs/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ var DefaultParserConfig = ParserConfig{
285285
// NewParserWithConfig returns a new Parser with a custom configuration.
286286
//
287287
// See also: NewParser() & ParserConfig
288-
func NewParserWithConfig(demostream io.Reader, config ParserConfig) *parser {
288+
func NewParserWithConfig(demostream io.Reader, config ParserConfig) Parser {
289289
var p parser
290290

291291
// Init parser

0 commit comments

Comments
 (0)