1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

fix an idiot typo

Former-commit-id: 3b493bedb38641c84e19c3b53d6bd0b273cc9d81
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-05 22:07:56 +03:00
parent cc19f80049
commit 47075a82e9
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ import (
func main() {
// GOARCH=wasm GOOS=js /home/$yourusername/go1.14/bin/go build -o hello.wasm hello_go114.go
js.Global().Get("console").Call("log", "Hello WebAssemply!")
js.Global().Get("console").Call("log", "Hello Webassembly!")
message := fmt.Sprintf("Hello, the current time is: %s", time.Now().String())
js.Global().Get("document").Call("getElementById", "hello").Set("innerText", message)
}