A First App in Go

After you install Go, we need to check to see if it is configured properly. Things work better with a Go Path set. This is usually under your home directory. In Windows that would be C:\Users\<username>\go most likely. You can check this by going to the command prompt and typing: This is going to do…

About Go (Golang) A History and Purpose for a New Language

Go was developed by a team of engineers at Google, primarily Robert Griesemer, Rob Pike, and Ken Thompson, who released it publicly in 2009. The primary motivation behind Go’s creation was to address the limitations the team observed in other programming languages, especially when building large, scalable systems at Google. Many of these limitations were…

Installing Go

When installing Go, you have a couple of options. Source Code First, you can install from source code, which means you will need to compile the source code. This allows for a lot of flexibility. However, the code base itself is written in Go, so you will need to download a binary of the Go…

Classes in TypeScript

We’ve already briefly looked at classes in TypeScript and classes in JavaScript, so let’s delve a little deeper now. Since TypeScript is just JavaScript, with some added on bits, we can create a class as we normally would with the adding of types as you see below. However, we can overload our constructors to see…

What is tsconfig.json for?

The tsconfig.json file specifies the root files and the compiler options required to compile a TypeScript project. So presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project. Without that file, the compiler will continue to move up the directory hierarchy to fine the config file. There is also a…