Skip to content

Mathoholic/golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Go Fundamentals

A hands-on learning repository covering core concepts of the Go programming language.

Topics Covered

Topic Description
Control Flow if/else, for loops, and switch statements
Structs Defining and using structs, methods, and embedding
Pointers Pointer basics, dereferencing, and pass-by-reference
Panic & Recover Error handling with panic and recover
File I/O Reading and writing files
Packages Organizing code into packages
Prime Numbers Example algorithm — prime number checker
Swap Value swapping using pointers

Getting Started

# Clone the repo
git clone https://github.com/Mathoholic/golang.git
cd golang

# Run any example (e.g., main)
go run fundamentals/main/main.go

Prerequisites

  • Go 1.25+

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages