Last active
April 8, 2021 01:42
-
-
Save xNok/1557ba9dba3428d5818925b4cf598d60 to your computer and use it in GitHub Desktop.
appHomeViews.go
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
package views | |
import ( | |
"bytes" | |
"embed" | |
"html/template" | |
"io/ioutil" | |
"log" | |
"encoding/json" | |
"github.com/slack-go/slack" | |
) | |
const ( | |
// Define Action_id as constant so we can refet to them in the controller | |
AddStockieNoteActionID = "add_note" | |
ModalDescriptionBlockID = "note_description" | |
ModalDescriptionActionID = "content" | |
ModalColorBlockID = "note_color" | |
ModalColorActionID = "color" | |
) | |
type StickieNote struct { | |
Description string | |
Color string | |
Timestamp string | |
} | |
//go:embed appHomeViewsAssets/* | |
var appHomeAssets embed.FS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment