Fix missing import

This commit is contained in:
George Suntres
2026-03-30 14:19:42 -04:00
parent 163db9af13
commit 47f7fdf9c0

View File

@@ -2,6 +2,8 @@ package structful
import (
"log"
"git.gsuntres.com/general/commons"
)
var structful *Structful
@@ -63,7 +65,7 @@ type StructfulProps struct {
}
func(s *Structful) Save(data map[string]any) error {
if err := validator.Validate(data); err != nil {
if err := commons.Validate(data); err != nil {
return err
}