Welcome to Div Rhino. Articles for project-based learning

Featured articles

Building an interactive CLI app with Go, Cobra & promptui

By Shaii

This tutorial will guide us through building an interactive CLI app with Go, Cobra and promptui. We will learn how to prompt the user for input data and persist this data to an SQLite database. This tutorial will guide us through building an interactive CLI app with Go, Cobra and promptui. We will learn how to prompt the user for input data and persist this data to an SQLite database.
GO GOLANG TUTORIAL CLI INTERACTIVE DATABASE SQLITE PROMPTUI

Creating a PDF with Go, Maroto & Gofakeit

By Shaii

In this tutorial, we will learn how to use the Maroto package to create a PDF. From invoices to certificates, being able to generate a PDF from app data is a pretty handy feature. In this tutorial, we will use the Maroto package to build and save a product list. We will also learn how we can use the GoFakeIt package to generate some random dummy data that we can use in our PDF.
GO GOLANG TUTORIAL PDF CUSTOM PACKAGE MOCK DATA