Working with Maps in Go

Similar Posts

  • Goroutines and channels

    One of Go’s initial design requirements was to make it easy to create multi-threaded applications. While many languages support multi-threading, it’s not always easy to implement. Go wanted to make it easy to do this. Consider the following code where it runs sequentially. If you run this, every function call to PrintHello() has to complete…

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

  • Basic Variables in Dart

    Dart has some basic variables types that are available for you to use. Inferred Definitions Dart doesn’t require you to define the data type when you define a variable. You can use the var keyword and Dart will infer the data type based upon what it sees. Implicit Definitions Likewise, you can define the data…

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

One Comment

Comments are closed.