DEV Community

Cover image for Hands-on Go β€” Learn by Doing with Realistic Examples
Allison Yuri
Allison Yuri

Posted on

Hands-on Go β€” Learn by Doing with Realistic Examples

πŸ‘‹ Hi everyone!

I'm Allison Yuri, 26 years old, currently working as a Tech Lead at Prime Secure.

I'm passionate about technology, politics, blockchain, cybersecurity, and philosophy.


🎯 Why am I here?

I started posting on DEV Community to share practical and accessible knowledge for those who want to get into programming β€” especially with the Go language.


πŸš€ Project: gostart

πŸ”— GitHub Repository

gostart is an open and collaborative repository aimed at teaching Go through straightforward, well-commented, and structured examples.

Each example lives in its own folder, with a main.go file and an explanatory README.md.

The goal is to learn by doing, reading, and testing.


πŸ“‚ Current Structure

βœ… 01_hello

Your first contact with Go β€” the classic Hello, World! β€” with explanations on package main, func main(), and fmt.Println.

βœ… 02_arguments

How to capture command-line arguments using os.Args and strings.Join.

βœ… 03_duplicates

Reading from the terminal using bufio.Scanner, using maps to count values, and logic to display only duplicate lines.

βœ… 04_animated_gif

Generating animated images with image/gif, graphic loops, sine functions, and Lissajous curve GIFs.


πŸ“Œ What's coming next?

The repository will be continuously updated with new examples such as:

  • HTTP requests (net/http)
  • Concurrency with goroutines and channels
  • File manipulation
  • Real-world API integrations

🀝 Contributions are welcome!

If you’d like to help teach Go, feel completely free to send pull requests with new examples following the current structure:

examples/
└── 0X_example_name/
    β”œβ”€β”€ main.go
    └── README.md

πŸ’¬ Feel free to comment, suggest improvements, or ask anything.

Let’s learn together! πŸš€

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.