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 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.
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.
- 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
Functions are basic in any functional or modular programming language.
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
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.