Development

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
Using ldflags to Set Version Information for Go Applications — step-by-step Programming tutorial on Progressive Robot

Using ldflags to Set Version Information for Go Applications

In this tutorial, you will use the Go flag -ldflags to change the value of variables at build time and introduce your own dynamic information into a binary, using a sample application that prints version information to the screen. This passes a flag to the underlying Go toolchain linker, cmd/link, that allows you to change the values of imported packages at build time from the command line.

Read more
Como escrever comentários em Go — step-by-step Programming tutorial on Progressive Robot

Como escrever comentários em Go

Comentários são linhas que existem em programas de computador que os programas de compilação e interpretação ignoram. A inclusão de comentários nos programas torna o código mais legível para humanos, uma vez que fornece informações ou explicações sobre o que cada parte de um…

Read more
How To Make Netflix-Like Swipers in Vue — step-by-step Javascript tutorial on Progressive Robot

How To Make Netflix-Like Swipers in Vue

If you have been building for the web for a little while, you would have like me encountered at least some issues when making swipers – for some reason, they always seem to have a mind of their own for a while and they come around. It’s either, the swipe

Read more
How To Crawl A Web Page with Scrapy and Python 3 — step-by-step Python tutorial on Progressive Robot

How To Crawl A Web Page with Scrapy and Python 3

Whether you want to mine data about a set of products, get a large corpus of text or quantitative data to play around with, get data from a site without an official API, or just satisfy your own personal curiosity, web scraping is a powerful way to work with data

Read more
How To Add Unit Testing to Your Django Project — step-by-step Python tutorial on Progressive Robot

How To Add Unit Testing to Your Django Project

Testing a website can be a complex task to undertake because it is made up of several layers of logic like handling HTTP requests, form validation, and rendering templates. However Django provides a set of tools that makes testing your web application seamless. In this tutorial, you will set up a test suite in your Django project and write unit tests for the models and views in your application. You will run these tests, analyze their results, and learn how to find the causes of failing tests.

Read more
CHAT