summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-12-23 10:57:04 +0530
committerBobby <[email protected]>2025-12-23 10:57:04 +0530
commit3036abbc4af1e85e3f3d473c9facdeefb94916c7 (patch)
tree149363c254b9a52b85854cb2d32eb95c8cefa542 /utils
parentecce99fde86b01efffd1825688ee950f7e7f6b33 (diff)
downloadlain-3036abbc4af1e85e3f3d473c9facdeefb94916c7.tar.xz
lain-3036abbc4af1e85e3f3d473c9facdeefb94916c7.zip
email templates, routes and utils
Diffstat (limited to 'utils')
-rw-r--r--utils/email/helpers.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/email/helpers.go b/utils/email/helpers.go
new file mode 100644
index 0000000..eb95726
--- /dev/null
+++ b/utils/email/helpers.go
@@ -0,0 +1,9 @@
+package email
+
+import (
+ "slices"
+)
+
+func hasAttribute(attrs []string, attr string) bool {
+ return slices.Contains(attrs, attr)
+}