Golang tutorial for Node.js developers: Getting started

Click for: original source

A tutorial series, which covers the basics of getting started with the Go language, while building an app and exposing it through a REST, GraphQL and GRPC API together. By Tamas Kadlecsik (@tamaskadlecsik); CEO of RisingStack.

Another drawback is that because Go is statically typed and lacks generics, you cannot use basic functional programming niceties such as map, filter, reduce, unless you write them for each type or generate the code for them.

The article covers:

  • Golang Setup
  • net/http with Go
  • Encoding/json
  • Dependency management
  • Build tooling

The source code for the article is also available in GitHub repo.

Go features very nice concurrency primitives and provides excellent speed if used right. However, the number of libraries compared to other platforms is small, and they tend to be young. Good read!

[Read More]

Tags programming software-architecture functional-programming