Categorygithub.com/alianjo/go-training-examples
repository
0.0.0-20250214161939-7bfcbd2af436
Repository: https://github.com/alianjo/go-training-examples.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Go Training Examples

Welcome to Go Training Examples! This repository is a comprehensive collection of Go programming examples, tutorials, and practice exercises designed to help learners of all levels master the Go language.

Overview

Go Training Examples provides a structured approach to learning Go, featuring a variety of materials from basic syntax to advanced concepts. Whether you're just starting out with Go or looking to deepen your understanding, you'll find valuable resources here to enhance your skills.


Table of Contents

SectionDescriptionLink
BasicsFoundational Go concepts and introductory exercisesBasics
IntermediateIntermediate-level Go programming techniquesIntermediate
AdvancedAdvanced Go programming topics and practicesAdvanced
ProjectsReal-world Go applications and mini-projectsProjects

Basics

  • Errors: Handling errors in Go
  • Functions: Function definitions and tests
  • List: Working with lists in Go
  • Parsing: Parsing URLs and strings
  • Random: Generating random values
  • Struct: Structs, methods, and slices
  • Switch: Using switch statements

Intermediate

  • Hashes: Encoding with Base64 and SHA256
  • Interface: Understanding interfaces in Go
  • Maps: Map operations and tests
  • Method: Methods and custom loggers
  • Select: Using select with channels
  • Sorting: Sorting functions and implementation
  • String Functions: String manipulations
  • Ticker: Rate limiting with tickers
  • Time: Working with time in Go

Advanced

  • Catch Panics: Managing panic events
  • Channels: Communication between goroutines
  • Cmd: Command-line execution in Go
  • Files: File operations and manipulation
  • Goroutines: Working with goroutines
  • Handle Goroutine: Handling goroutine lifecycles
  • HTTP: HTTP request and response handling
  • JSON: Parsing and generating JSON data
  • Logging: Logging techniques and configuration
  • Mutexes: Synchronization with mutexes
  • Processes: Working with processes and execution
  • Signals: Signal handling in Go
  • Std: Standard input operations
  • Testing: Writing and executing tests
  • Text: Text manipulation techniques

Projects

  • Todo CLI: A CLI-based todo list application to demonstrate project-based learning

Contribution

We appreciate contributions to Go Training Examples. To get started:

  • Fork the repository on GitHub.
  • Clone the repository locally.
  • Create a new branch for your contribution.
  • Make changes and commit them.
  • Submit a pull request.

Please follow Go best practices, document your code, and test thoroughly. Join us on GitHub or social media to stay updated and connect with contributors.