Connect to Bluetooth Low Energy devices using Golang

Using Golang and TinyGo’s BLE library, learn how to connect to Bluetooth Low Energy devices. This introduction uses the AOJ-20A thermometer from Lepu but using other BLE enabled devices will work in a similar way.
WebAssembly: Go vs Rust vs AssemblyScript

Imagine you are working on the next big thing that runs in the browser, and it requires some heavy-duty code, which need to run fast and efficient. You remember that your friend Jack told you about WebAssembly (Wasm), which supposedly runs faster than JavaScript (JS), so you decide to check it out.
The thing you are working on involves sorting large amounts of data, so you test a pure JS implementation first.
Go: Cross-Compilation including Cgo
How to cross-compile applications for other platforms with Go and Cgo
Golang Errors With Stacktrace

Problem # The error handling of Go is not up to snuff compared to other languages like Java for example. Errors are treated equally to other values, meaning, they have no special type. This means, they do not carry information of origin in them. Which makes tracking down the error origin more difficult.
Let me show that to you.
package main import ( "errors" "fmt" ) func main() { err := NewErrorWithStackTrace() if err !
Golang: Goroutine Variable Scope

Did you ever run your Go code, and you felt like something was off? Ever thought this might be related to the variable scope? Then you might be onto something!