Last active
April 6, 2021 03:36
-
-
Save xNok/c0dfff5ca65dcf5b58d8a88073bbd659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func GreetingMessage(user string) []slack.Block { | |
// [TODO]: parse the template `greetingViews/greeting.json` | |
view := slack.Msg{} | |
// [TODO]: unmarshal the template into slack.Msg{} | |
return view.Blocks.BlockSet | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment