Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Scripting with Go: A Modest Proposal. Parent comment
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()
There are no comments on this comment yet.
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()