Go

How to Get Go2TV Working With Your Samsung Smart TV

A recent reddit post on /r/golang titled Go2TV - cast videos to UPnP/DLNA MediaRenderers caught my interest. In this blog post I’ll try to get it working with my Samsung TV. ...

April 15, 2021 · 2 min · 281 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

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
Hugo

How to Install Hugo From Git Bash for Window Users

The purpose of this article is to help beginners understand how to do the advanced install of hugo static site generator (SSG). ...

September 9, 2020 · 3 min · 503 words · Bartlomiej Mika
Hugo

How to Start a Personal Blog With Hugo a Static Site Generator Written in Go (Part 1)

The purpose of this article is to help you setup a personal blog as quickly as possible. These are the instructions and notes I’ve written down when setting up my site that I’d like to share. ...

September 7, 2020 · 3 min · 559 words · Bartlomiej Mika