Get the latest tech news

Full Introduction to Golang with Test-Driven Development


This is a post based on the script for my video “A new learning way on how to write “Hello, World!” program in Go” which available “on my YouTube channel” and it is a part of the upcoming course “Grokking Go Fundamentals with Tests” (GGFT). Hello and welcome. In this chapter, we will write our first Go program. As a tradition, we will create a classic “hello world” program. It is a program that prints “Hello, World!

In the Terminal, open the path where you’re gonna create a folder for the project using the command cd. But in the first example, let’s start with creating a file that will contain the simplified version of the code for which we’ll add a test. We successfully finished our test-development cycle, and now let’s complete our program so that it will print the string “Hello, World!” in the terminal.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of test

test

Photo of introduction

introduction

Photo of golang

golang

Related news:

News photo

A test for life versus non-life?

News photo

Sharks Near Brazil Test Positive For Cocaine

News photo

Introduction to Linear Algebra