Skip to content

Commit

Permalink
Use multi line string literal (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
onlinejudge95 committed May 3, 2024
1 parent e4ca75d commit 7f17cbb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions internal/app/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ Has reached out with the following query

func (s *Service) SendWelcomeMail(payload WelcomeInput) error {
var email hermes.Email
var signature = `
Best regards,
Akash Tyagi
Founder CEO
`
if payload.UserType == "student" {
email = hermes.Email{
Body: hermes.Body{
Expand All @@ -116,7 +123,8 @@ func (s *Service) SendWelcomeMail(payload WelcomeInput) error {
"We're committed to helping you unlock your full potential and achieve your fitness goals. If you have any questions or need assistance, don't hesitate to reach out to our support team at wecoach.ai@gmail.com or contact +91-9953836512.",
"Once again, welcome to WeCoach.AI! Get ready to transform your fitness and unleash your best self.",
},
Signature: "Best regards,<br />Akash Tyagi<br />Founder & CEO<br />WeCoach.AI",
Signature: signature,
// Signature: "Best regards,<br />Akash Tyagi<br />Founder & CEO<br />WeCoach.AI",
},
}
} else {
Expand Down Expand Up @@ -175,7 +183,8 @@ func (s *Service) SendWelcomeMail(payload WelcomeInput) error {
Outros: []string{
"If you have any questions or need assistance, please don't hesitate to reach out to our support team at wecoach.ai@gmail.com or 9953836512.",
},
Signature: "Best regards,<br />Akash Tyagi<br />Founder & CEO<br />WeCoach.AI",
Signature: signature,
// Signature: "Best regards,<br />Akash Tyagi<br />Founder & CEO<br />WeCoach.AI",
},
}
}
Expand Down

0 comments on commit 7f17cbb

Please sign in to comment.