Skip to content

Commit 6574ab7

Browse files
committedSep 2, 2020
added example to Error
1 parent efd392a commit 6574ab7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎parser/parser.go

+1
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ func (p *Parser) addOutputFields() error {
404404
errorField := Field{
405405
OmitEmpty: true,
406406
Name: "Error",
407+
Example: "",
407408
NameLowerCamel: "error",
408409
Comment: "Error is string explaining what went wrong. Empty if everything was fine.",
409410
Type: FieldType{

0 commit comments

Comments
 (0)
Please sign in to comment.