summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2019-06-18 13:41:06 +0200
committerÖzgür Kesim <oec@codeblau.de>2019-06-18 13:41:06 +0200
commitef954d857ce5a6e9952f7d6487662b6b164a127c (patch)
treec2d766cb03902bd03466b12a8e69ad8cc3087581 /errors.go
parent6b9cd80df517fd7d85a256a950f3de726d7e619e (diff)
parent9bc60a23116a1992e56d3a2754df6523bc565e99 (diff)
Merge branch 'master' of github.com:/oec/goparsify
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/errors.go b/errors.go
index 3f8787c..e684e14 100644
--- a/errors.go
+++ b/errors.go
@@ -17,10 +17,10 @@ func (e *Error) Error() string { return fmt.Sprintf("offset %d: expected %s", e.
// UnparsedInputError is returned by Run when not all of the input was consumed. There may still be a valid result
type UnparsedInputError struct {
- remaining string
+ Remaining string
}
// Error satisfies the golang error interface
func (e UnparsedInputError) Error() string {
- return "left unparsed: " + e.remaining
+ return "left unparsed: " + e.Remaining
}