Go

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
Указатели в Go — step-by-step Programming tutorial on Progressive Robot

Указатели в Go

При написании программного обеспечения на Go вы создаете функции и методы. Данные передаются в эти функции в виде аргументов. Иногда функции требуется локальная копия данных, но при этом вы хотите, чтобы оригинал оставался без изменений. Например, если вы работаете в банке и у…

Read more
Información sobre punteros en Go — step-by-step Programming tutorial on Progressive Robot

Información sobre punteros en Go

Al escribir software en Go, escribirá funciones y métodos. Pasará datos a esas funciones como argumentos. A veces, las funciones requieren una copia local de los datos y le conviene que el original se mantenga inalterado. Por ejemplo, si maneja un banco y tiene una función…

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

Entendendo o init em Go

Em Go, a função pré-definida init() faz com que uma parte do código execute antes de qualquer outra parte do seu pacote. Esse código vai executar assim que o pacote for importado e poderá ser usado…

Read more
What is Go? — step-by-step Programming tutorial on Progressive Robot

What is Go?

Go is a compiled, statically typed programming language similar in syntax to C. Also referred to as “Golang”, Go is well-known for its performance in networking and multiprocessing. Originally designed at Google, Go version 1.0 released in March 2012 as a public open source project, which now has…

Read more
CHAT