From 3e7f3abeb61b803d3eae7e2ee6420de049614c89 Mon Sep 17 00:00:00 2001 From: Tue Date: Wed, 16 Nov 2022 14:10:48 +0700 Subject: [PATCH] build email --- .idea/.name | 1 + .idea/{email.iml => email-modules.iml} | 0 .idea/modules.xml | 2 +- email.go | 4 ++-- payload.go | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .idea/.name rename .idea/{email.iml => email-modules.iml} (100%) diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..56c2d58 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +email-modules \ No newline at end of file diff --git a/.idea/email.iml b/.idea/email-modules.iml similarity index 100% rename from .idea/email.iml rename to .idea/email-modules.iml diff --git a/.idea/modules.xml b/.idea/modules.xml index 0e3e62f..be0d705 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/email.go b/email.go index e2814c8..2db1530 100644 --- a/email.go +++ b/email.go @@ -1,4 +1,4 @@ -package email +package email_modules import ( "encoding/json" @@ -8,7 +8,7 @@ import ( ) func getPrefixEmailService(subject string) string { - return fmt.Sprintf("selly.email.%s", subject) + return fmt.Sprintf("selly.email-modules.%s", subject) } const ( diff --git a/payload.go b/payload.go index 5066951..9ce55e7 100644 --- a/payload.go +++ b/payload.go @@ -1,4 +1,4 @@ -package email +package email_modules import ( "git.selly.red/Selly-Modules/natsio"