Created
April 8, 2021 01:47
-
-
Save xNok/a48463528a6e9745c034d60dd54e5a8b 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 AppHomeTabView() slack.HomeTabViewRequest { | |
str, err := appHomeAssets.ReadFile("appHomeViewsAssets/AppHomeView.json") | |
if err != nil { | |
log.Printf("Unable to read view `AppHomeView`: %v", err) | |
} | |
view := slack.HomeTabViewRequest{} | |
json.Unmarshal([]byte(str), &view) | |
return view | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment