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"…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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).


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-10-01T08:02:29+00:00) » Learning Golang through WebAssembly – Part 2, Writing your first piece of Go. Retrieved from https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/.
MLA
" » Learning Golang through WebAssembly – Part 2, Writing your first piece of Go." Posts on LINQ to Fail | Sciencx - Monday February 4, 2019, https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/
HARVARD
Posts on LINQ to Fail | Sciencx Monday February 4, 2019 » Learning Golang through WebAssembly – Part 2, Writing your first piece of Go., viewed 2022-10-01T08:02:29+00:00,<https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Learning Golang through WebAssembly – Part 2, Writing your first piece of Go. [Internet]. [Accessed 2022-10-01T08:02:29+00:00]. Available from: https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/
CHICAGO
" » Learning Golang through WebAssembly – Part 2, Writing your first piece of Go." Posts on LINQ to Fail | Sciencx - Accessed 2022-10-01T08:02:29+00:00. https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/
IEEE
" » Learning Golang through WebAssembly – Part 2, Writing your first piece of Go." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/. [Accessed: 2022-10-01T08:02:29+00:00]
rf:citation
» Learning Golang through WebAssembly – Part 2, Writing your first piece of Go | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2019/02/04/learning-golang-through-webassembly-part-2-writing-your-first-piece-of-go/ | 2022-10-01T08:02:29+00:00
https://github.com/addpipe/simple-recorderjs-demo