Go

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

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

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

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

Написание комментариев в Go

Комментарии — это строки компьютерных программ, которые игнорируются компиляторами и интерпретаторами. Добавление комментариев в программы делает код более удобным для чтения людьми, поскольку комментарии обычно содержат информацию или разъяснение того, что делает каждая часть…

Read more
Customizing Go Binaries with Build Tags — step-by-step Programming tutorial on Progressive Robot

Customizing Go Binaries with Build Tags

In Go, a build tag, or a build constraint, is an identifier added to a piece of code that determines when the file should be included in a package during the build process. This allows you to build different versions of your Go application from the same source code and to toggle between them in a fast and organized manner. In this article, you will use build tags in Go to generate different executable binaries that offer Free, Pro, and Enterprise feature sets of a sample application.

Read more
How To Install Go 1.7 on CentOS 7 — step-by-step Linux tutorial on Progressive Robot

How To Install Go 1.7 on CentOS 7

Go, often referred to as golang, is an open-source programming language developed by Google. It takes a minimalist approach to development with a focus on making it easy to build simple, reliable, and efficient software.

Read more
How To Use Martini to Serve Go Applications Behind an Nginx Server on Ubuntu — step-by-step Linux tutorial on Progressive Robot

How To Use Martini to Serve Go Applications Behind an Nginx Server on Ubuntu

Web frameworks allow you to quickly program web applications without having to worry about the underlying glue that holds everything together. Martini is a modern web framework for the Go programming language that makes it easy to write web applications. In this guide, we will discuss how to create a Martini application and use Nginx as a reverse proxy to serve it requests.

Read more
Типы данных в Go — step-by-step Programming tutorial on Progressive Robot

Типы данных в Go

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

Read more
How To Format Strings in Go — step-by-step Programming tutorial on Progressive Robot

How To Format Strings in Go

In this tutorial, we’ll go over some of the ways we can work with Go strings to make sure that all output text is formatted correctly. Topics we will cover include: quotes, apostrophes, multiple lines, escape characters, and raw strings.

Read more
Importar paquetes en Go — step-by-step Programming tutorial on Progressive Robot

Importar paquetes en Go

Habrá ocasiones en las que su código necesitará funciones adicionales fuera de su programa actual. En estos casos, puede usar paquetes para sumar sofisticación a su programa. Un paquete representa todos los archivos en un solo directorio en el disco. Los paquetes pueden…

Read more
CHAT