
Introduction to Golang
Create a Go project with a proper folder structure, define a main package, and implement func main that prints hello world to the console.
Learn how to create a portable Go executable by building with go build, which bundles dependencies into a single file you can run on another machine without installing Go.
Explore variables by type, including integers (32- or 64-bit, signed or unsigned) and floating-point, with architecture-dependent sizes, plus strings in double quotes, utf-encoded Unicode, booleans, and complex numbers.
Discover arithmetic operations on complex numbers in Golang, including adding and multiplying complex numbers, and printing the results with new variables.
Learn how Go handles type conversions between int32 and int64, resolve mismatched types by casting, and perform safe arithmetic in Go.
Explore how global variables are accessible across functions in Go and how local variables defined in main are not accessible elsewhere. Understand scope and accessing undefined identifiers in printing.
Note: There was a problem with the initial upload for this video so I re-uploaded it and the video is now divided into two parts
Identify how to export variables in Go by naming them with a capital first letter and accessing them from other packages via import and a main function.
Learn how to initialize a variable, use an if condition, and check even numbers with modulo in Go, using 9 and 10 as examples and printing results.
Switch over an int option with cases 1 and 3 to trigger actions like go running, go jogging, or push ups, using a default and initialization for unmatched values.
See how a for loop prints values from zero to ten with a less-than-or-equal-to condition, and how break stops the loop when i reaches seven, printing 'loop is broken'.
Learn how to create an infinite loop by omitting initialization, condition, and post statements, and observe it run until interrupt. Use cases include waiting for user input or server connections.
Learn how to declare and manipulate arrays in Go, including fixed-size arrays, zero-valued elements, accessing by 0-based index, updating elements, and printing results.
Access elements by index in a fixed-size Golang array, print specific elements, handle out-of-bounds errors, and replace values to see how assignments update the array.
Explore how slices in Go represent a subset of an array, with start inclusive and end exclusive, acting as references that modify the original array.
Learn how to write a function in Go, define input parameters, return a value, and compute and print the average of two numbers.
Learn how exportable and non-exportable packages work by importing a geometric package and using exportable functions like EDI, with capitalized names signaling exportability and demonstrating that non-exportables are not accessible.
In this course we start learning Golang from Scratch. Go is an open source programming language created by Google. As one of the fastest growing languages in terms of popularity, its a great time to pick up the basics of Go!
We start with how to install golang on your system and then we proceed to developing our first golang hello world program. Then we start diving into golang structure and syntax. Once we become familiarized with initial go structure, we will start working with more advanced topics like concurrant programming and working with packages. During our course, we will explore a lot of aspects of golang in detail and use important packages for everyday tasks.
Golang is very easy to pick up and its syntax is fairly simple as compared to other programming language. However golang requires a lot of effort and practice to master its concepts (for example concurrancy) which could be very tricky for programmers to understand at first. This course aims to make golang learning easy and simpler by working with simple yet useful examples to make the concepts clear.