https://github.com/sArtHak03804/learn_go
๐ Dive into backend development with Go! ๐ New content uploaded weeklyโstay tuned and learn by doing!
https://github.com/sArtHak03804/learn_go
backend-development code-examples go golang-examples golang-tutorial projects
Last synced: 5 months ago
JSON representation
๐ Dive into backend development with Go! ๐ New content uploaded weeklyโstay tuned and learn by doing!
- Host: GitHub
- URL: https://github.com/sArtHak03804/learn_go
- Owner: sArtHak03804
- Created: 2025-03-17T02:39:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-24T16:27:18.000Z (about 1 year ago)
- Last Synced: 2025-03-24T17:32:46.210Z (about 1 year ago)
- Topics: backend-development, code-examples, go, golang-examples, golang-tutorial, projects
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Learn Go ๐
This repository is dedicated to learning and exploring the Go programming language. It includes practical examples, concept demonstrations, and small projects to help beginners and intermediate developers enhance their understanding of Go.
๐ Course Content
1. Core Concepts (Basic Foundations)
-
Data Types: Demonstrates the use of various data types in Go (int, float, bool, string). -
Arrays: Learn about arrays, their fixed size, and how to manipulate them. -
Slices: Explore slices for dynamic array-like functionality in Go. -
Maps: Understand maps for key-value pair data structures. -
Pointers: Discover pointers (*and&) to work with memory addresses.
2. Control Structures
-
If-Else: Work with conditionals using if-else and if-else-if ladder constructs. -
Loops: Explore different types of loops (for,range) and their usage.
3. Functions
-
Basic Functions: Dive into basic functions, variadic functions, and anonymous functions. -
Named Returns: Learn about named return values and how they simplify return statements.
4. Introductory Examples
-
Hello, World!: Start with the classicHello, World!program. -
Constants and Literals: Work with constants, literals, and special identifiers. -
Variables: Explore variable declarations, constants, and blank identifiers.
5. Practice Projects
-
Calculator: A basic arithmetic calculator combining foundational concepts. -
Multiplication Table Generator: Generate multiplication tables for any given number. -
Temperature Converter: Convert temperatures between Celsius, Fahrenheit, and Kelvin. -
Bank Account Manager: Simulate basic bank account operations (balance check, deposit, withdrawal). -
To-Do List: Manage tasks in a Command-Line Interface (CLI) environment.
๐ป How to Use
- Clone the repository:
git clone https://github.com/sArtHak03804/learn_go.git - redirect to directory
cd learn_go - Uncomment a function in
main.goto run it:// Uncomment the required function to run Ex: hello() then type in terminal: go run main.go
๐ฏ Goals
- Build a strong foundation in Go programming.
- Learn best practices and idiomatic Go.
- Explore real-world applications with hands-on mini-projects.
๐ค Contributions
Contributions are welcome! If you'd like to contribute, please:
- Fork the repository.
- Create a new branch for your changes.
- Submit a pull request explaining the changes you made.
Whether it's fixing a typo, adding a new example, or suggesting improvements, every contribution is appreciated!
๐ฌ Contact
Name: Sarthak Patel
Email: patelsarthak666@gmail.com
For any queries, suggestions, or feedback, feel free to reach out!