Skip to content

Commit

Permalink
refactor: 変数を介さず直接返すように
Browse files Browse the repository at this point in the history
  • Loading branch information
Takeno-hito committed Oct 5, 2023
1 parent 9120f3c commit 0562d6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,5 @@ func createMessage(t time.Time, rooms []*domain.Room, events []*db.Event, origin

}

message := fmt.Sprintf("## %s の進捗部屋\n%s## %s 開催予定のイベント\n%s", date, roomMessage, date, eventMessage)
return message
return fmt.Sprintf("## %s の進捗部屋\n%s## %s 開催予定のイベント\n%s", date, roomMessage, date, eventMessage)
}

0 comments on commit 0562d6c

Please sign in to comment.