Skip to content

🌍 Dive into backend development with Go! 🚀 New content uploaded weekly—stay tuned and learn by doing!

Notifications You must be signed in to change notification settings

sArtHak03804/learn_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 classic Hello, 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.go to 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!

About

🌍 Dive into backend development with Go! 🚀 New content uploaded weekly—stay tuned and learn by doing!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages