Golang Project Structure

Tutorials, tips and tricks for writing and structuring code in Go (with additional content for other programming languages)

bash programming

Tag

Reversing a String

This post will look at various ways to reverse a string in Go, a fairly common task that isn’t explicitly handled by the standard library. We will start by looking at some basic examples using Java and the Linux command line, then we will go through various ways to code solutions to the problem in […]

Replacing 12 Powerful Linux Bash Commands With Go

The command line on a Ubuntu Linux computer. This is where you would enter Bash commands.

Every serious software developer or system administrator must have at least a basic grasp of Bash commands, because they can often help you to manage computer systems much more efficiently and effectively than if you were only to use a point-and-click GUI. In this post we’re going to write Go code that will aim to […]

Bitmasks and Binary: What Does That Weird Pipe Character Do?

We all know what piping looks like in the real world, but when we talk about pipes in computing, we’re not necessarily all talking about the same thing. I’ve Seen Pipes in Linux and Mac OS In UNIX-based operating systems, the pipe character, also known as the vertical bar, is used to send the output […]