Go

Como usar o pacote Flag em Go — step-by-step Programming tutorial on Progressive Robot

Como usar o pacote Flag em Go

Os utilitários de linha de comando raramente são úteis, pois não vêm prontos para usar e necessitam de configuração adicional. Padrões bons são importantes, mas os utilitários úteis precisam aceitar a configuração dos usuários. Na maioria das plataformas, os utilitários de linha…

Read more
Использование выражений Break и Continue при работе с циклами в Go — step-by-step Programming tutorial on Progressive Robot

Использование выражений Break и Continue при работе с циклами в Go

Использование циклов for в Go позволяет эффективно автоматизировать и повторять выполнение задач. Понимание принципов контроля и работы циклов позволяет использовать в программе персонализированную логику. Вы можете контролировать циклы с помощью выражений break и…

Read more
Understanding Pointers in Go — step-by-step Programming tutorial on Progressive Robot

Understanding Pointers in Go

When writing software in Go you’ll be writing functions and methods. You pass data to these functions as arguments. Sometimes, the function needs a local copy of the data, and you want the original to remain unchanged. In this article, you will learn how to create and use pointers to share access to the memory space for a variable.

Read more
Understanding Boolean Logic in Go — step-by-step Programming tutorial on Progressive Robot

Understanding Boolean Logic in Go

The Boolean data type can be one of two values, either True or False. We use Booleans in programming to make comparisons and to control the flow of the program. In this tutorial, we’ll go over the basics you’ll need to understand how Booleans work in Go, including Boolean comparison and logical operators, and truth tables.

Read more
Cómo manejar errores en Go — step-by-step Programming tutorial on Progressive Robot

Cómo manejar errores en Go

Un código sólido debe reaccionar de forma adecuada en circunstancias imprevistas, como entradas incorrectas de los usuarios o conexiones de red o discos defectuosos. El manejo de errores es el proceso de identificar cuando sus programas se encuentran en un estado imprevisto y de tomar medidas…

Read more
Como usar funções variadic em Go — step-by-step Programming tutorial on Progressive Robot

Como usar funções variadic em Go

Uma função variadic é uma função que aceita zero, um, ou mais valores como um único argumento. Embora as funções variadic não sejam o caso comum, elas podem ser usadas para tornar seu código mais limpo e mais legível. As funções variadic são mais comuns do que parecem. A…

Read more
How To Build Go from Source on Ubuntu 16.04 — step-by-step Linux tutorial on Progressive Robot

How To Build Go from Source on Ubuntu 16.04

Go is a modern, open-source programming language developed by Google. If you want to test your Go application against the latest version of the language, contribute to the Go code base, or have better Go version management, you’ll need to build Go from source. This tutorial will show you how to build Go, cover some practical considerations, and build a “Hello, World” test application.

Read more
CHAT