An open API service indexing awesome lists of open source software.

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!

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 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!