|
|
|
@ -33,7 +33,7 @@ func NewParser(reader io.Reader) *Parser { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// NewParser will create and initialize a new Parser from a provided from a filename string
|
|
|
|
// NewFileParser will create and initialize a new Parser from a provided from a filename string
|
|
|
|
func NewFileParser(filename string) (*Parser, error) { |
|
|
|
reader, err := os.Open(filename) |
|
|
|
if err != nil { |
|
|
|
|