Go

Cómo usar interfaces en Go — step-by-step Programming tutorial on Progressive Robot

Cómo usar interfaces en Go

Escribir código flexible, reutilizable y modular es crucial para desarrollar programas versátiles. Trabajar de esta forma garantiza que se pueda facilitar el mantenimiento del código evitando la necesidad de realizar el mismo cambio en varios puntos. La forma en que esto se…

Read more
Defining Structs in Go — step-by-step Programming tutorial on Progressive Robot

Defining Structs in Go

Structs allow storing data from several variables in a single entity with one name. They allow Go developers to describe the world in which a Go program operates. Instead of reasoning about strings describing a `Street`, `City`, or a `PostalCode`, structs allow us to instead talk about an `Address`. They also serve as a natural nexus for documentation. Structs can be defined and used in a few different ways, which are discussed in this tutorial.

Read more
How to Distribute Go Modules — step-by-step Programming tutorial on Progressive Robot

How to Distribute Go Modules

With Go, developers can use ready-made libraries from other developers and publish their own for others to use. In this tutorial, you’ll create and publish a new module, learn about semantic versioning, and publish a semantic version of your module.

Read more
Cómo convertir tipos de datos en Go — step-by-step Programming tutorial on Progressive Robot

Cómo convertir tipos de datos en Go

En Go, los tipos de datos se utilizan para clasificar un tipo de dato concreto y determinan los valores que puede asignar al tipo y las operaciones que puede realizar en él. Cuando realice tareas de programación, a veces deberá aplicar conversiones de valores entre tipos para…

Read more
Lidando com a função Panics em Go — step-by-step Programming tutorial on Progressive Robot

Lidando com a função Panics em Go

Os erros que um programa encontra se enquadram em duas grandes categorias: a dos erros que o programador previu e a dos que ele não previu. A interface de error – que abordamos nos dois artigos anteriores sobre [Como lidar com…

Read more
How To Build a GraphQL API With Golang to Upload Files to object storage — step-by-step Programming tutorial on Progressive Robot

How To Build a GraphQL API With Golang to Upload Files to object storage

Uploading files with GraphQL can be a challenge, since there is no built-in support for file uploads. In this tutorial, you will learn to upload images to a third-party storage service directly from your backend application. You will build a GraphQL API that uses an S3-compatible AWS GO SDK from a Go backend application to upload images to object storage. The Go back-end application will expose a GraphQL API and store user data in a PotsgreSQL database.

Read more
CHAT