golang

Showing 1-6 of 6 results

Share

Well-structured Logic: A Golang OOP Tutorial

Can Golang be object-oriented? Go is post-OOP but can still leverage concepts like binding functions to types (aka classes), constructors, subtyping, polymorphism, dependency injection, and testing with mocks.

9 minute readContinue Reading
Leonhard Holz

Leonhard Holz

4 Go Language Criticisms

Go is quickly becoming one of the most popular languages: It currently ranks 19 in the TIOBE programming community index, and powers popular software like Kubernetes, Docker, and Heroku CLI. However, for all its simplicity, Go may still be missing some things.

In this article, Toptal Freelance Go Developer Sergei Peshkov shares his concerns about why Go is still far from perfect and how we can make it better.

9 minute readContinue Reading
Sergei Peshkov

Sergei Peshkov

Testing Your Go App: Get Started The Right Way

When Golang first came out, there were next to no resources available about how to efficiently test your Go-written application. Even now, with plenty of guides and recommendations available, many bright-eyed developers still try to apply their Ruby or JavaScript mindset and use external frameworks to test apps written in Go.

In this article, Toptal Freelance Developer Gabriel Aszalos first explains Golang philosophy and then covers the basics of testing in Go, from table testing to JSON response assertion.

10 minute readContinue Reading
Gabriel Aszalos

Gabriel Aszalos

Going Real-Time with Redis Pub/Sub

Real-time applications have already started to dominate the landscape of the Internet. With modern frameworks and standardization of the necessary client-side features, building a real-time web application has become a breeze. However, such web applications still pose unique scalability challenges.

In this article, Toptal engineer Mahmud Ridwan explores the architecture of a simple real-time web application that works using Redis Pub/Sub and doesn’t compromise its horizontal scalability.

13 minute readContinue Reading
Mahmud Ridwan

Mahmud Ridwan

Simplified NGINX Load Balancing with Loadcat

NGINX, a sophisticated web server, offers high performance load balancing features, among many other capabilities. Like most other web server software for Unix-based systems, NGINX can be configured easily by writing simple text files. However, there is something interesting about tools that configure other tools, and it may be even easier to configure an NGINX load balancer if there was a tool for it.

In this article, Toptal engineer Mahmud Ridwan demonstrates how easy it is to build a simple tool with a web-based GUI capable of configuring NGINX as a load balancer.

13 minute readContinue Reading
Mahmud Ridwan

Mahmud Ridwan

Go Programming Tutorial: Golang by Example

Go is a relatively new language with a number of attractive features. It’s great for writing concurrent programs, thanks to an excellent set of low-level features for handling concurrency. In many cases, though, a handful of reusable abstractions over those low-level mechanisms makes life much easier. This introductory tutorial walks you through building one such abstraction: a wrapper that can turn any data structure into a transactional service in Go.

17 minute readContinue Reading
Brendon Hogger

Brendon Hogger

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.