From 47f7fdf9c08328f60e22f5fa974bb244f48458c7 Mon Sep 17 00:00:00 2001 From: George Suntres Date: Mon, 30 Mar 2026 14:19:42 -0400 Subject: [PATCH] Fix missing import --- structful.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/structful.go b/structful.go index 21ebae2..2179b3b 100644 --- a/structful.go +++ b/structful.go @@ -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 }