Skip to content

Commit

Permalink
Merge pull request #100 from rezakhademix/rezakhademix-patch-1
Browse files Browse the repository at this point in the history
update README.md
  • Loading branch information
rezakhademix authored May 30, 2024
2 parents 8959bd0 + 8449a68 commit 661f20d
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 @@ -113,7 +113,7 @@ Each validation rule in GoValidator has it's own default message, e.g: `required
}
```

3. Advanced usage with any custom validation rule: You can define any custom rules or any flexible rule that does not exist in default govalidator package. Simply use check() method to define your desired data validations:
3. Advanced usage with any custom validation rule: You can define any custom rules or any flexible rule that does not exist in default govalidator package. Simply use `CustomRule()` method to define your desired data validations:

```go
type Profile struct {
Expand Down

0 comments on commit 661f20d

Please sign in to comment.