Go

Обработка ошибок в Go — step-by-step Programming tutorial on Progressive Robot

Обработка ошибок в Go

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

Read more
How To Deploy a Go Web Application Using Nginx on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Deploy a Go Web Application Using Nginx on Ubuntu 18.04

In this tutorial, you will build a “Hello World” web application in Go and deploy it on an Ubuntu 18.04 server using Nginx as a reverse proxy. Go is a general-purpose programming language that is gradually becoming one of the most popular web back-end programming languages. Nginx is one of the most used web servers in the world due to its lightweight resource usage and its reliability under load.

Read more
Установка Go и настройка локальной среды программирования в macOS — step-by-step Programming tutorial on Progressive Robot

Установка Go и настройка локальной среды программирования в macOS

Go — это язык программирования, созданный Google в результате разочарования в других языках. Разработчикам постоянно приходилось выбирать между эффективным языком программирования с очень длительным временем компиляции и удобным языком программирования, не…

Read more
How To Run Multiple Functions Concurrently in Go — step-by-step Programming tutorial on Progressive Robot

How To Run Multiple Functions Concurrently in Go

To run programs faster, a programmer needs to design their programs to run at the same time. Two features in Go, goroutines and channels, make concurrency easier when used together. Goroutines solve the difficulty of setting up and running concurrent code in a program, and channels solve the difficulty of safely communicating between the code running concurrently.

Read more
How To Use Interfaces in Go — step-by-step Programming tutorial on Progressive Robot

How To Use Interfaces in Go

In this article, we will learn how to compose custom types that have common behaviors, which will allow us to reuse our code. You’ll also learn how to implement interfaces for your own custom types that will satisfy interfaces defined from another package.

Read more
How To Use Variables and Constants in Go — step-by-step Programming tutorial on Progressive Robot

How To Use Variables and Constants in Go

Variables are an important programming concept to master. They are symbols that stand in for a value you’re using in a program. This tutorial will cover some variable basics and best practices for using them within the Go programs you create.

Read more
Como escrever pacotes em Go — step-by-step Programming tutorial on Progressive Robot

Como escrever pacotes em Go

Um pacote é composto por arquivos em Go que ficam no mesmo diretório e têm a mesma instrução de pacotes no início. Você pode incluir funcionalidades adicionais dos pacotes para tornar seus programas mais sofisticados. Alguns pacotes estão disponíveis através da Biblioteca Padrão de Go e, por…

Read more
CHAT