Articles tagged "go"
Page 3 of 4
compile: version does not match go tool version — Fix in 60 Seconds
Fix "compile: version does not match go tool version" in Go. Caused by GOROOT mismatch, stale PATH, or multiple Go installs. Copy-paste fix for Linux, macOS, and Windows.
Hugo How to ignore watch files on the server
You can use watchIgnoreFiles = [
golang open file and iterate lines
In this tutorial, we are going to explain how to parse a file with go and iterate lines of a file.
Go Type Conversion Guide: rune to int, string to int, int to string (2026)
Complete Go type conversion guide 2026: rune to int with int(), string to int with strconv.Atoi, int to string with strconv.Itoa, byte to string, int64 conversions. All with working code examples.
Fix Go Error: runtime.main_main·f: function main is undeclared [Solution]
Fix the Go error "runtime.main_main·f: function main is undeclared in the main package". Learn the causes and step-by-step solutions with code examples.
How to update the Go version
Steps to update go lang to the latest version. Remove your current go and then Go to the [downloads](https://golang.org/dl/) page and download the binary release. finally install it following the steps in this guide.
Understanding the go scheduler
The scheduler tries to use a small number of kernel threads to support high concurrency. It will leverage parallelism to scale to many cores. In this tutorial, we explain with some details how the go scheduler works to distribute goroutines over kernel threads.
Introduction to asynchronous networking programming with go
With go you don’t have threads, you have goroutines which are very cheap in terms of stack and scheduling. Go has a scheduler which works like an event loop, but it allows the developer to forget about events, queues, saving state, etc. Check our tutorial to learn to go networking programming.
Bettercap Install Error: pcap.h Not Found
When you do: go get github.com/bettercap/bettercap and get the error: fatal error: pcap.h: No such file or directory try to execute ->
Install go in raspberrypi steps
Follow this steps to install go on the raspberry pi. We don't use apt to install go and instead we download the latest version from https://golang.org.