0% found this document useful (0 votes)
156 views

Golang Tutorial

This document provides an introduction and overview of the Go programming language. It explains that Go was initially developed by Google in 2007 and is used in some of Google's production systems. The document outlines some of Go's key features like garbage collection and type safety. It then previews the topics that will be covered in the Go tutorial, including variables, data types, control structures, functions, strings, arrays, structures, maps and error handling.

Uploaded by

Rein
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views

Golang Tutorial

This document provides an introduction and overview of the Go programming language. It explains that Go was initially developed by Google in 2007 and is used in some of Google's production systems. The document outlines some of Go's key features like garbage collection and type safety. It then previews the topics that will be covered in the Go tutorial, including variables, data types, control structures, functions, strings, arrays, structures, maps and error handling.

Uploaded by

Rein
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Golang Tutorial – Learn Go Programming

What is Go Language?

Go language is a programming language initially developed at Google in the year 2007 by Robert Griesemer,
Rob Pike, and Ken Thompson. It also provides a rich standard library. The Go programming language is used in
some of Google’s production systems and also in that of many other major companies.

Go resemblance with other programming languages

Go is a statically-typed language having the syntax similar to that of C.

Go language provides

Garbage Collection
Type Safety
Dynamic-typing capability

and many advanced built-in types such as variable length arrays and key-value maps.

Welcome to Go Language (GoLang) Tutorial. In this Go Tutorial, we will go through the Go Basics with well-
detailed examples.

Prerequisites

Basic programming concepts would help you understand easily but not necessary. This Go tutorial is targeted
for beginners. So, even if you have just started with programming, we will guide you through the basics of Go
programming.

Go Tutorial

Go Basics
How to run Golang Program
Go Datatypes
Go Variables
Go Constants
Golang Comments
Go Arithmetic Operators
Go Logical Operators
Go Type Casting

Go Control Statements
Golang If Else
Golang Switch
Golang For Loop
Go Break
Go Continue
Go goto

Go Functions

Functions are basic in any functional or modular programming language.

Golang Functions

Go String Operations
Golang String Length
Golang String Concatenation
Golang Split String
Golang – Get index of a substring in a String
Golang – Convert String to Uppercase
Golang – Convert String to Lowercase

Go Arrays

Arrays are a kind of sequential data structures that allow to store multiple elements of a datatype under a single
variable. You can access the elements using index.

Golang Arrays – Declare, Initialize

Go Structures

Go Range

Go Maps
Go Recursion

Go Error Handling

Golang

➩ Golang Tutorial

✦ Run Golang Program

✦ Golang If Else

✦ Golang Switch

✦ Golang For Loop

✦ Golang Comments

✦ Golang Functions

✦ Golang Array

✦ Golang Slice

✦ Golang Struct

✦ Golang Class

✦ Golang Range

✦ Golang Map

✦ Golang Goroutine

✦ Golang Channel

Golang String Operations

✦ Golang String Length

✦ Golang String Concatenation

✦ Golang Split String

✦ Golang String - Get Index of Substr

✦ Golang String to Uppercase

✦ Golang String to Lowercase

✦ Golang Convert String to Integer

You might also like