GitLab CI/CD for Go Projects

Everybody knows that GitLab can be used to store our source code. But, GitLab can do more than that. Using the GitLab CI/CD we can automate our development workflow. It helps us to test, build, and deploy our code right from our repository in GitLab. That sounds great, but using the GitLab CI/CD can be confusing at first. So, in this post let’s take a look at using GitLab CI/CD for Go projects....

July 3, 2022 · 7 min · Emre Demir

How to Pull Docker Images from Amazon ECR Private Registry in Go

Pulling a docker image from Amazon ECR private registry consists of several steps; configuration, authentication, and using the right commands. In this post, let’s take a look at how to do that in Go. Prerequisites Install AWS SDK for Go go get github.com/aws/aws-sdk-go-v2 go get github.com/aws/aws-sdk-go-v2/config go get github.com/aws/aws-sdk-go-v2/credentials go get github.com/aws/aws-sdk-go-v2/service/ecr Install Docker SDK for Go go get github.com/docker/docker/client Pulling Docker Image AWS in Go First of all, we have to create a configuration object for AWS client....

January 9, 2022 · 4 min · Emre Demir

Setting Up a Pretty and Minimal macOS Terminal

Using the default terminal is fine, but why not have a better terminal, especially a pretty and minimal alternative? In this guide, we will set up a pretty and minimal terminal with little effort. Our terminal will have a nice look, syntax highlighting, git info, auto-completion and other features just out of the box. Prerequisites Install Homebrew We will need Homebrew to install the packages we need. /bin/bash -c "$(curl -fsSL https://raw....

December 29, 2021 · 4 min · Emre Demir