Gopher

Description

Learning Golang by examples with TDD

  • Using vscode with devcontainer (+docker-compose)
  • Integrated Github Actions CI/CD (build and test) (with docker-compose)

Requirements

Windows

Install WSL with Ubuntu 20.04: https://ubuntu.com/wsl

Windows (WSL + Ubuntu 20.04) / Linux (Ubuntu 20.04+)

Initial setup

sudo apt update
  • GIT
sudo apt install git
  • Docker

sudo apt install docker docker-compose
sudo usermod -a -G docker $USER
sudo apt install gconf2 gconf-service libappindicator1

No windows seguir o tutorial

wget -c https://github.com/DockStation/dockstation/releases/download/v1.5.1/dockstation_1.5.1_amd64.deb
sudo dpkg -i dockstation_1.5.1_amd64.deb

Initial Setup

git clone https://github.com/lucribas/learn_hyper_with_golang.git
cd learn_hyper_with_golang

day 1

cd day1
code .
# Open in with Dev Containers extension

References:

GitHub

View Github