Skip to content

Commit

Permalink
fixup! doc: update readme with up-to-date code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
divarvel committed Jun 26, 2023
1 parent dc8c1ec commit 84c7ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The `parser` module provides convenient helpers for parsing a string into datalo

#### Panic on parsing errors

In most cases, `FromString*` functions will let you handle errors. If you do not wish to handle errors and instead crash on errors (for instance in one-off scripts), it can be done by first creating a parser instance, and using the panic-y helpers:
In most cases, `FromString*` functions will let you handle errors. If you do not wish to handle errors and instead crash on errors (for instance in one-off scripts), it can be done by first creating a parser instance, and using the `panic`-y functions:

```go
p := parser.New()
Expand Down

0 comments on commit 84c7ca2

Please sign in to comment.