Skip to content

Commit

Permalink
Update trim_right.md (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinar committed Jun 17, 2023
1 parent 34c4e11 commit cb022a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/normalizers/trim_right.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Trim Normalizer
# Trim Right Normalizer

The ```trim``` normalizer removes the whitespaces at the beginning and at the end of the given value. It can be mixed with checkers and other normalizers when defining the validation steps for user data.

Expand All @@ -8,7 +8,7 @@ type User struct {
}

user := &User{
Username: " normalizer ",
Username: "normalizer ",
}

Check(user)
Expand Down

0 comments on commit cb022a9

Please sign in to comment.