Skip to content
/ Golang Public

This repository is a collection of notes, code snippets, and examples for learning the Go programming language.

Notifications You must be signed in to change notification settings

Jixiee/Golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

Golang

GoLang Notes and Code Repository

Welcome to the GoLang Notes and Code repository! This repository is a collection of notes, code snippets, and examples for learning the Go programming language.

Table of Contents

Notes

Notes

Introduction and Basics

This section provides an introduction to GoLang, its key features, and covers the basic syntax including variables, data types, operators, and control structures. It also includes a "Hello, World!" example. For detailed notes and examples, check out the Introduction and Basics file.

Data Types and Variables

Learn about different data types in GoLang and how to declare and initialize variables.

For detailed notes and examples, check out the Data Types and Variables file.

Functions

Explore function declaration, arguments, return values, and more.

For detailed notes and examples, check out the Functions file.

Control Structures

Understand conditional statements (if), switch statements, and loops (for and range).

For detailed notes and examples, check out the Control Structures file.

Data Structures

Learn about arrays, slices, maps, structs, and pointers.

For detailed notes and examples, check out the Data Structures file.

Error Handling

Discover error handling techniques and best practices in GoLang.

For detailed notes and examples, check out the Error Handling file.

Concurrency and Goroutines

Explore concurrency, goroutines, and channels for concurrent programming.

For detailed notes and examples, check out the Concurrency and Goroutines file.

Packages and Modules

Understand how to organize your code into packages and work with modules.

For detailed notes and examples, check out the Packages and Modules file.

File I/O and JSON

Learn about reading and writing files, as well as working with JSON data.

For detailed notes and examples, check out the File I/O and JSON file.

Advanced Topics

Explore more advanced topics like interfaces, mutexes, reflection, and unit testing.

For detailed notes and examples, check out the Advanced Topics file.

Glossary

A glossary of GoLang terms and concepts for quick reference.

For detailed definitions, check out the Glossary file.

Codes

Hello World

This section provides the code for printing "Hello World" message. From where it all starts.

For the executable code, check out the Hello World file.

Calculator

This section provides the code for a simple calculator program that performs four basic arithmetic operations: =.-.*./

For the executable code, check out the Calculator file.

ToDo List

This section provides the code for maintaining a ToDo List. You can easily edit the tasks performed and erase it from the list

For the executable code, check out the ToDo List file.

Temperature Converter

This section provides the code for converting Temperature from Celcius to Fahrenheit and vice versa.

For the executable code, check out the Temperature Converter file.

Number Game

This section provides the code for guessing a random number selected by computer

For the executable code, check out the Number Game file.

Fruit Guess

This section provides the code for guessing a fruit selected by computer in five attempts.

For the executable code, check out the Fruit Guess file.


Feel free to explore different topics by navigating through the links provided above. Happy learning and coding with GoLang!

About

This repository is a collection of notes, code snippets, and examples for learning the Go programming language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages