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

Similar Posts

  • 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…

  • Working with Maps in Go

    Working with a Map in Go is like Dictionaries in Python, or Maps in Java. A Map stores information as key/value pairs. This is a nice thing about data structures, they are often found in other languages. Defining the Map When you define one in Go, you need to define the variable as a type…

  • 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…

  • Math in Go

    Performing Math in Go is like many other programing languages in many ways. Of course, the standard mathematical symbols apply: Operator Description + Addition – Subtraction * Multiplication / Quotient % Remainder & Bitwise AND | Bitwise OR ^ Bitwise XOR &^ Bit clear (AND NOT) << Left shift >> Right shift (logical) The Math…