Go

Определение и вызов функций в Go — step-by-step Programming tutorial on Progressive Robot

Определение и вызов функций в Go

Функция — это часть кода, которая после определения может многократно использоваться. Функции используются для упрощения понимания кода путем разделения его на небольшие понятные задачи, которые могут использоваться многократно в вашей программе. Go поставляется с мощной…

Read more
How To Do Math in Go with Operators — step-by-step Programming tutorial on Progressive Robot

How To Do Math in Go with Operators

Effectively performing mathematical operations in programming is an important skill to develop because of how frequently you’ll work with numbers. This tutorial will review operators that we can use with the integer and float data types in Go.

Read more
How To Make an HTTP Server in Go — step-by-step Programming tutorial on Progressive Robot

How To Make an HTTP Server in Go

In this tutorial, you will create an HTTP server using Go’s standard library and then expand your server to read data from the request’s query string, the body, and form data. You’ll also update your program to respond to the request with your own HTTP headers and status codes.

Read more
Como usar interfaces em Go — step-by-step Programming tutorial on Progressive Robot

Como usar interfaces em Go

Escrever um código flexível, reutilizável e modular é vital para o desenvolvimento de programas versáteis. Trabalhar dessa maneira garante que o código seja mais fácil de manter, evitando assim a necessidade de fazer a mesma mudança em vários locais. A maneira de se conseguir…

Read more
Como usar variáveis e constantes em Go — step-by-step Programming tutorial on Progressive Robot

Como usar variáveis e constantes em Go

As variáveis são um importante conceito de programação a dominar. Tratam-se de símbolos que assumem um valor que você está usando em um programa. Este tutorial abordará alguns princípios básicos sobre as variáveis e melhores práticas para usá-las dentro dos programas em Go que você…

Read more
How To Write Conditional Statements in Go — step-by-step Programming tutorial on Progressive Robot

How To Write Conditional Statements in Go

Conditional statements are part of every programming language. With conditional statements, we can have code that sometimes runs and at other times does not run, depending on the conditions of the program at that time. This tutorial will take you through writing conditional statements in the Go programming language.

Read more
Импорт пакетов в Go — step-by-step Programming tutorial on Progressive Robot

Импорт пакетов в Go

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

Read more
Entendendo o defer no Go — step-by-step Programming tutorial on Progressive Robot

Entendendo o defer no Go

A linguagem Go tem muitas das palavras-chave comuns a outras linguagens, tais como if, switch, for etc. Uma palavra-chave que não existe na maioria das outras linguagens de programação é defer e, embora seja menos comum, você verá o quão útil ela pode ser nos seus…

Read more
Entendendo ponteiros em Go — step-by-step Programming tutorial on Progressive Robot

Entendendo ponteiros em Go

Quando você criar software em Go, você estará escrevendo funções e métodos. Você passa dados para essas funções como argumentos. Às vezes, a função precisa de uma cópia local dos dados e você quer que o original permaneça inalterado. Por exemplo, se você for um banco e tiver…

Read more
CHAT