Skip to content

Commit

Permalink
Update trim_left.md (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinar committed Jun 17, 2023
1 parent cb022a9 commit e7f71b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/normalizers/trim_left.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Trim Normalizer
# Trim Left 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 e7f71b4

Please sign in to comment.