GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CodingSamrat/GoLang-Notes: Go tutorial repo with hands-on examples, clean code patterns, and step-by-step learning.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
01-hello-world
01-hello-world
 
 
02-variables
02-variables
 
 
03-user-input
03-user-input
 
 
04-comma-ok-syntax
04-comma-ok-syntax
 
 
05-type-conversion
05-type-conversion
 
 
06-pointer
06-pointer
 
 
07-date-time
07-date-time
 
 
08-array
08-array
 
 
09-slice
09-slice
 
 
10-map
10-map
 
 
11-struct
11-struct
 
 
12-if-else
12-if-else
 
 
13-switch-case
13-switch-case
 
 
14-loop
14-loop
 
 
15-function
15-function
 
 
16-method
16-method
 
 
17-defer
17-defer
 
 
18-file-handling
18-file-handling
 
 
19-goroutine
19-goroutine
 
 
.gitignore
.gitignore
 
 
readme.md
readme.md
 
 

Repository files navigation

GoLang Tutorial

Welcome to the Go Language Tutorial – a beginner-friendly guide to learning Go (also known as Golang), a modern programming language designed for simplicity, performance, and reliability.

This tutorial covers the essential concepts of Go with simple, well-documented examples. Each topic includes explanations and code snippets to help you understand how things work in real-world scenarios.

Topics Covered

  • Getting Started (Hello World)
  • Variables and Constants
  • Data Types
  • Type Casting
  • Pointers
  • Arrays and Slices
  • Maps
  • Structs
  • Conditional Statements (if, else, switch)
  • Loops (for, range)
  • Control Statements (break, continue, goto)
  • Functions
  • Methods
  • Defer
  • File Handling

Getting Started

To run the examples, make sure you have Go installed:

go version

Clone this repository, visit the specific dir (topic) and run any file using:

go run main.go

Here's a sample directory structure:

/GoLang-Tutorial
│
├── README.md
├── readme.md
│
├── 01-hello-world            # Topic folder: Hello World
│   ├── README.md             # Topic-specific doc and explanation
│   ├── go.mod                # Module-specific file (optional, if standalone)
│   └── main.go               # Main Go file with example code
└── 02- ...

Build and Run Go Programs

In Go, you can build and run your programs using the built-in go command-line tool. It compiles source code into an executable binary.

go build

# Build with executable name
go build -o app_name

About

Go tutorial repo with hands-on examples, clean code patterns, and step-by-step learning.

Topics

gogolanggoroutinegotutorialspracticetutorial

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.