angelamcosta / go_learning

Welcome to my Go tutorial exercises repository! This repository contains the code I wrote while following the tutorial Create a Go Module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌟 My Go Tutorial Exercises Repo πŸ“š

Welcome to my Go tutorial exercises repository! This repository contains the code I wrote while following the tutorial Create a Go Module.

πŸ“‚ Folder Structure

The repository is organized into the following folders:

1. 🌍 Hello

This folder contains the code for the "Hello, World!" exercise. It demonstrates the basic structure of a Go program and how to build and run it.

To build the program, navigate to the hello folder and run the following command:

go build

To run the program, use the following command:

./hello

Feel free to modify the names in the hello.go file and see how it affects the program's output.

2. πŸ‘‹ Greetings

The greetings folder includes code for the "Greetings" exercise. It introduces the concept of packages, importing, and writing tests in Go.

To run the tests for the greetings package, navigate to the greetings folder and run the following command:

go test

Explore the code and tests to learn more about how the greetings package works.

About

Welcome to my Go tutorial exercises repository! This repository contains the code I wrote while following the tutorial Create a Go Module.


Languages

Language:Go 100.0%