Go 1.11 (2018-08-24)

Description

Most of its changes are in the implementation of the toolchain, runtime, and libraries

WebAssembly

Go 1.11 adds an experimental port to WebAssembly (js/wasm).

Go programs currently compile to one WebAssembly module that includes the Go runtime for goroutine scheduling, garbage collection, maps, etc.

As a result, the resulting size is at minimum around 2 MB, or 500 KB compressed. Go programs can call into JavaScript using the new experimental syscall/js package.

Binary size and interop with other languages has not yet been a priority but may be addressed in future releases.

As a result of the addition of the new GOOS value “js” and GOARCH value “wasm”, Go files named _js.go or _wasm.go will now be ignored by Go tools except when those GOOS/GOARCH values are being used.

If you have existing filenames matching those patterns, you will need to rename them.

More information can be found on the WebAssembly wiki page .