That's hardly the whole point of using Go.
The friendlier syntax (and in this case DSL) is an ever bigger point.
In any case, you can trivially get at the error at the point it occured:
n, err := script.File("test.txt").Match("Error").CountLines()
That's hardly the whole point of using Go.
The friendlier syntax (and in this case DSL) is an ever bigger point.
In any case, you can trivially get at the error at the point it occured:
n, err := script.File("test.txt").Match("Error").CountLines()