Learning Golang through WebAssembly – Part 2, Writing your first piece of Go

Hello WASM, Go style You’ve got your Golang dev environment setup and now it’s time to put it to good use.
We’re going to start really basic and write what amounts to a Hello World code:
1 2 3 4 5 6 7 package main import "fmt"…

Hello WASM, Go style You’ve got your Golang dev environment setup and now it’s time to put it to good use. We’re going to start really basic and write what amounts to a Hello World code: 1 2 3 4 5 6 7 package main import "fmt" func main() { fmt.Println("Hello WASM from Go!") } Well… that’s not particularly exciting, but let’s break it down to understand just what we’re doing here (after all, I’m expecting this might be your first time looking at Go).
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: