fixed typos and some linter suggestions

This commit is contained in:
Gani Georgiev
2024-01-23 20:56:14 +02:00
parent 80d65a198b
commit aabe820e35
17 changed files with 4635 additions and 4626 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func (form *RecordPasswordResetRequest) SetDao(dao *daos.Dao) {
// Validate makes the form validatable by implementing [validation.Validatable] interface.
//
// This method doesn't checks whether auth record with `form.Email` exists (this is done on Submit).
// This method doesn't check whether auth record with `form.Email` exists (this is done on Submit).
func (form *RecordPasswordResetRequest) Validate() error {
return validation.ValidateStruct(form,
validation.Field(
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/pocketbase/pocketbase/daos"
)
// Compare checks whether the provided model id exists.
// UniqueId checks whether the provided model id already exists.
//
// Example:
//