This commit is contained in:
ImVexed 2019-10-04 18:59:47 -05:00
parent d134c1d83c
commit bd405e0f93
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ import (
) )
func main() { func main() {
// Any static asset packer of your liking (ex. fileb0x) // Any static asset packer of your liking (ex. fileb0x)
fileHandler := http.FileServer(webfiles.HTTP) fileHandler := http.FileServer(webfiles.HTTP)
cfg := &muon.Config{ cfg := &muon.Config{
@ -53,10 +53,10 @@ func main() {
m := muon.New(cfg, fileHandler) m := muon.New(cfg, fileHandler)
// Expose our `add` function to the JS runtime // Expose our `add` function to the JS runtime
m.Bind("add", add) m.Bind("add", add)
// Show the Window and start the Runtime // Show the Window and start the Runtime
if err := m.Start(); err != nil { if err := m.Start(); err != nil {
panic(err) panic(err)
} }