Created
April 8, 2021 01:50
-
-
Save xNok/56e6fc63c0242f2e8a6fcfcd1ac2b6b2 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 CreateStickieNoteModal() slack.ModalViewRequest { | |
str, err := appHomeAssets.ReadFile("appHomeViewsAssets/CreateStickieNoteModal.json") | |
if err != nil { | |
log.Printf("Unable to read view `CreateStickieNoteModal`: %v", err) | |
} | |
view := slack.ModalViewRequest{} | |
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