Go

Showing 1-9 of 9 results
EngineeringIcon ChevronBack-end

API Development in Go Using Goa

By Gleidson Nascimento

Your code is described in your API definition using a Golang Domain Specific Language (DSL), then generated using the Goa CLI, and implemented separately from your application source code.

17 minute readContinue Reading
EngineeringIcon ChevronBack-end

Well-structured Logic: A Golang OOP Tutorial

By Leonhard Holz

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
EngineeringIcon ChevronBack-end

4 Go Language Criticisms

By Sergei Peshkov

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
EngineeringIcon ChevronBack-end

Server-side I/O Performance: Node vs. PHP vs. Java vs. Go

By Brad Peabody

Understanding the Input/Output (I/O) model of your application can mean the difference between an application that deals with the load it is subjected to, and one that crumples in the face of real-world uses cases. Perhaps while your application is small and does not serve high loads, it may matter far less. But as your application’s traffic load increases, working with the wrong I/O model can get you into a world of hurt.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

Testing Your Go App: Get Started The Right Way

By Gabriel Aszalos

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
EngineeringIcon ChevronBack-end

Going Real-Time with Redis Pub/Sub

By Mahmud Ridwan

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
EngineeringIcon ChevronBack-end

Simplified NGINX Load Balancing with Loadcat

By Mahmud Ridwan

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
EngineeringIcon ChevronWeb Front-end

Deploy Web Applications Automatically Using GitHub Webhooks

By Mahmud Ridwan

Deploying instances of a web application to one or more servers manually can often be a monotonous process, and take up a significant amount of your time. With little effort, it is possible to automate the process of deploying your web application with almost zero human intervention. This article outlines a simple approach to automating web application deployments using GitHub webhooks, buildpacks, and Procfiles.

15 minute readContinue Reading
EngineeringIcon ChevronTechnology

Go Programming Tutorial: Golang by Example

By Brendon Hogger

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

Join the Toptal® community.