1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-12-05 18:24:11 +02:00

fixed formatting and typos

This commit is contained in:
Gani Georgiev
2023-02-23 21:51:42 +02:00
parent aa4e405f92
commit 21b152b58c
14 changed files with 45 additions and 50 deletions

View File

@@ -7,6 +7,7 @@ import (
// Compare checks whether the validated value matches another string.
//
// Example:
//
// validation.Field(&form.PasswordConfirm, validation.By(validators.Compare(form.Password)))
func Compare(valueToCompare string) validation.RuleFunc {
return func(value any) error {