Update example to include the checker module name. (#159)
# Describe Request Update example to include the checker module name. # Change Type Documentation improvement.
This commit is contained in:
parent
bdb9c8ea9b
commit
b14b02d03c
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ Error messages are generated using Golang template functions, allowing them to i
|
|||
|
||||
```golang
|
||||
// Custrom checker error containing the item name.
|
||||
err := NewCheckErrorWithData(
|
||||
err := checker.NewCheckErrorWithData(
|
||||
"NOT_FRUIT",
|
||||
map[string]interface{}{
|
||||
"name": "abcd",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue