Go

Хостинг веб-сайта с Caddy в Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

Хостинг веб-сайта с Caddy в Ubuntu 18.04

Автор выбрал фонд Free and Open Source Fund для получения пожертвования в рамках программы Write for DOnations. Caddy — это простой и безопасный веб-сервер, имеющий ряд…

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

How To Use Templates in Go

Do you need to present some data in well-formatted output, textual reports, or HTML pages? You can do that with Go templates. Any Go program can use the `text/template` or `html/template` package—both included in the Go standard library—to present data neatly. This tutorial will show you how to use both template packages.

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

Cómo escribir comentarios en Go

Los comentarios son líneas que existen en los programas informáticos y que los compiladores e intérpretes ignoran. Incluir comentarios en programas hace que el código sea más legible para los seres humanos, ya que proporciona información o explicaciones sobre lo que cada…

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

How To Write Unit Tests in Go

In this tutorial, you will create a small program and then run a series of tests on your code using Go’s testing package and the go test command. Once you complete the tutorial, you will have a working unit-testing suite that includes a table-based unit test, a coverage test, a benchmark, and a documented example.

Read more
Булева логика в Go — step-by-step Programming tutorial on Progressive Robot

Булева логика в Go

Логический тип данных (bool) может иметь одно из двух значений, true (истина) или false (ложь). Булевы операторы используются в программировании для сравнения и для контроля потока процессов программы. Булевы операторы используются для представления значений истины, связанных с…

Read more
Знакомство с картами в Go — step-by-step Programming tutorial on Progressive Robot

Знакомство с картами в Go

В большинстве современных языков программирования применяется концепция словаря или хэша. Эти типы обычно используются для хранения данных в парах, где ключ соответствует значению. В Go тип данных map используется как тип dictionary в большинстве других языков программирования….

Read more
CHAT