RSA Encryption

How to Perform RSA Encryption in Javascript (React.js) and Golang

Do you want your React.js (web) frontend app talking to your Golang backend server? In this post, I’ll explain how I got cross-devices RSA encryption working in JavaScript and Golang. ...

February 7, 2022 · 6 min · 1256 words · Bartlomiej Mika
Go

How to do Dynamic Filtering in Golang using only the Database SQL Package like in Django

Recently I had to do some advanced filtering using the database/sql package found in the Golang standard library. In this article I share how I handled advanced filtering. If you are a beginner in Golang wanting to learn how to improve your understanding of querying the database, this article is for you. ...

May 7, 2021 · 14 min · 2978 words · Bartlomiej Mika

Useful Resources that Helped me Learn Golang over the Years

The purpose of this post is to share my catalogue of useful links I’ve gathered in my quest to better understand Golang. If I’ve used a webpage to solve a problem, or if I used a link to learn something, then you’ll find a link of it here. ...

April 8, 2021 · 4 min · 676 words · Bartlomiej Mika
WordPress

How to Setup Wordpress for Ubuntu 20 LTS on a Digitalocean Droplet

Do you setup WordPress sites often and you want instructions you can repeat quickly? The purpose of this HOWTO is to provide a series of copy and paste commands you can use over and over to setup WordPress on an Ubuntu 20 LTS server using DigitalOcean for your future clients. ...

March 31, 2021 · 10 min · 1954 words · Bartlomiej Mika

Example of Writing a Simple gRPC Server in Golang from Scratch

How do you write a Golang server using gRPC from scratch? Heres how to do it. ...

March 27, 2021 · 3 min · 599 words · Bartlomiej Mika
Go

How to Import Datetime Columns from a PgAdmin5 CSV export file in Golang

If you’ve exported from PgAdmin a CSV file and tried to import that CSV into your Golang app, you may have noticed there is a challenge with importing the datatime. The purpose of this article contains the code I wrote to help me with this problem. ...

March 10, 2021 · 2 min · 341 words · Bartlomiej Mika
Go

How to Build an API Server in Go - Part 4: Access Control

Learn how to protect API endpoints with access and refresh tokens using the third-party jwt-go library. ...

January 31, 2021 · 16 min · 3313 words · Bartlomiej Mika
Go

How to Build an API Server in Go - Part 3: Postgres Database

The purpose of this article is to provide instructions on how to setup postgres database with our application. ...

January 30, 2021 · 18 min · 3833 words · Bartlomiej Mika
Go

How to Build an API Server in Go - Part 2: Simple Database

The purpose of this post is to learn how our basic API server can read the body of a request. In addition, we will learn how to use an easy-to-use simple database for beginners called scribble. ...

January 29, 2021 · 21 min · 4448 words · Bartlomiej Mika
Go

How to Build an API Server in Go - Part 1: Basic Server

The purpose of this post is to provide instructions on how to setup a simple RESTful API server, in Golang, using only the net/http package and not any other third-party web framework. You will learn how to create REST endpoints within your project that can handle POST, GET, PUT and DELETE HTTP requests. This is the first post in a multi-post series. ...

January 25, 2021 · 12 min · 2522 words · Bartlomiej Mika