Development

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

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

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

Read more
Understanding Template Literals in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Template Literals in JavaScript

The 2015 edition of the ECMAScript specification (ES6) added template literals to the JavaScript language. Template literals are a new form of making strings in JavaScript that add a lot of powerful new capabilities, such as creating multi-line strings, using placeholders to embed expressions in a string, and parsing dynamic string expressions with tagged template literals. In this article, you will go over the differences between single/double-quoted strings and template literals.

Read more
Building Go Applications for Different Operating Systems and Architectures — step-by-step Programming tutorial on Progressive Robot

Building Go Applications for Different Operating Systems and Architectures

Go supports cross-platform compiling by building support for multiple platforms directly into the go build tool. By using the GOOS and GOARCH environment variables and build tags, you can control which OS and architecture your final binary is built for. In this tutorial, you will build binaries for multiple operating systems and system architectures on your own system.

Read more
Personalizando binários em Go com build tags — step-by-step Programming tutorial on Progressive Robot

Personalizando binários em Go com build tags

No Go, um build tag, ou uma restrição de compilação, é um identificador adicionado a um pedaço de código que determina quando o arquivo deve ser incluído em um pacote durante o processo de build. Isso permite que você compile diferentes versões de seu aplicativo em Go a…

Read more
CHAT