Debugging Go Apps Remotely

An underrated functionality in some modern IDEs, such as vscode, enables us to write code in the local machine and run and debug them in a remote device in real time. vscode client/server architecture enables this functionality - called “Dev Containers”. An excellent official article on the vscode website explains the setup for the Go debugging. In this post, I will share my experience tailored to the vscode IDE and Docker desktop....

January 1, 2023 · 6 min · Amir Mohtasebi

Golang - Learning Material

This is a live document containing my recommended articles, videos, and books available I used to learn Golang over the last couple of years: [Book] An Introduction to Go Programming Language: Free book to start your journey as a beginner into Golang. [Website] Go by Example: Sample codes that teach you the fundamentals and best practices. [Website] Go Proverbs: Simple, Poetic, Pithy. [Video] Cuncurrency Patterns: Google I/O 2012 - Go Concurrency Patterns....

November 22, 2020 · 1 min · Amir Mohtasebi

Golang - Setting up Dev Environment

After a little of back and forth and using different IDEs I documented my preferred set up here: Install Golang Install the latest version of Golang from here. IDE I chose to use Visual Studio Code because it is free and it has better support for Golang than (almost) any other IDE outide. Extension In order to configure VS Code to support Golang, you need to install vscode-go extension. Then:...

December 4, 2017 · 1 min · Amir Mohtasebi

Golang Series

These are a series of posts explaining how I set up my preferred Golang web API project that is ready for production. You can leave comment here or raise an issue on Github in case you think there is a better way of doing things. Part 1: Setting Up Your Dev Environment Part 2: Learning Material Part 3: Debugging Go Apps Remotely

December 3, 2017 · 1 min · Amir Mohtasebi