Skip to content

Commit

Permalink
bulder.Grow の使い方間違っていたので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
hattorihotaka committed Feb 22, 2023
1 parent aae2050 commit b81c7a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/internal/domain/service/slack_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func (s *slackResponseService) postEmailList(ctx context.Context, channelID stri
func (s *slackResponseService) ReplyEmailList(ctx context.Context, event *slackevents.AppMentionEvent, emails []*model.SlackUserEmail) error {
if len(emails) <= lineSizeOfPostEmailList-1 {
var b strings.Builder
b.Grow(len(emails) + 1)
b.WriteString("参加者一覧")
for _, email := range emails {
b.WriteString("\n" + email.Email)
Expand Down

0 comments on commit b81c7a8

Please sign in to comment.