Note: Check out our golang advanced tutorial here
Also, check out our system design tutorial series here
About Golang
- Golang Advanced Tutorial Series
- About GOLANG
- GO Installation
- Set up GO Workspace and Hello World Program
Variables
- Variables in Go - Complete Guide
- Understanding var keyword in golang
- Scope of a variable in golang
- Naming conventions for variables and constant in golang
- Understanding := symbol or short variable declaration in golang
- Hello World in golang
Constant
- Constant in Golang
- Can constant be reassigned after its declaration in Go
- Constant in inner/outer scope in Golang
- Global and Local Constant in Golang
- Typed and Untyped constant in Golang
- Declaring a constant in Golang
- String constant in Golang
- Numeric/Integer/Float constant in Golang
- Boolean constant in Golang
- Character constant in Golang
- Multiple constant declarations in Golang
- Constant Map in Golang
- Constant struct in Go (Golang)
- Constant array or slice in Golang
Conditions and Loops
- Understand if else in golang
- for loop in golang
- Switch Statement in Go
- fallthrough keyword in go
- for-range loop in Go
- Goto statement in Golang
Packages/Modules
- Packages and Modules in Go (Golang) - Part 1
- Packages and Modules in Go (Golang) - Part 2
- Modules in Golang
- Direct vs Indirect Dependencies in go.mod file in Go
- Manual download dependency from go.mod file in Golang
- Selection of the version of library or dependency in Golang
- Importing package from different module locally in Golang
- Importing package within the same module in Golang
- What does go mod tidy do in Golang
- Add a dependency to your project or module in Golang
- Executable and non-executable module in Golang
- //indirect for a dependency in go.mod file in Golang
- Understanding Module name or module import path in Golang
- Vendor dependencies of a module in Golang
- Understanding go.sum and go.mod file in Golang
- Package vs Module in Golang
- Remove a dependency from a module in Golang
- Init function in Golang
- Order of execution of a Go program
- Nested Packages in Golang
- Package Name and Directory/Folder Name in Golang- Does they need to be the same
- Blank Identifier in import in Golang
- Import same package name or Aliasing while importing packages in Golang
Array/Slice
- Understanding Array in golang
- Understanding slice in golang
- Multi-Dimensinal Array and Slice in golang
- Copy an array or slice in golang
- Different ways of iterating over array and slice.
- Check if an item exists in a slice
- Find and delete an item in a slice
- Find and delete an item in an array
- Print an array or slice elements in golang
- Declare/Initialize/Create an array or slice in golang
- Convert an array/slice into a JSON string in golang
- Append or Add to a Slice or Array in Golang
- Slice of Struct in Golang
- Slice of Map in Golang
- Slice or Array of Channels in Golang
- Slice or Array of Bool in Golang
- Create Slice or Array of Integers in Golang
- Create Slice or Array of Floats in Golang
- Create Slice or Array of Strings in Golang
- Sort a part of the slice in Golang
- Append one slice to another slice in Golang
- Sort a slice of Int in Ascending and Descending order in Go (Golang)
- Convert an array of int or numbers to string in Go (Golang)
Maps
- Different ways of iterating over map
- Length of a map in golang
- Maps in Golang - Complete Guide
- Check if a key exists in a map in golang
- Update a key in map in golang
- Allowed key and value types for a map in golang
- Create/Initialize/Declare map in golang
- Conversion between map and JSON in Golang
- Convert a map to JSON in Golang
- Convert a JSON to map in Golang
- How to check if a map contains a key in Golang
- Delete or Remove a key from a map in Go (Golang)
Struct
- Struct in golang - Complete Guide
- Creating and Intializaing struct variables in golang
- Pointer to a struct
- Pretty Print Struct Variables in golang
- Exported and non-exported fields of a struct
- Anonymous Fields in a Struct in golang
- Struct Equality in golang
- Accessing and Setting Struct fields in golang
- Nested Struct in golang
- Struct Field Meta or Tags in golang
- Conversion between struct and JSON in Golang
- How to intialize a struct that has another nested struct in Golang
- How to initialize a struct having an array or slice field in Golang
- How to access the struct from another package in Golang
Method
- Method in golang - Complete Guide
- Pointer Receiver for a method in Golang
- Method on a non-struct type in golang
- Method chaining in golang
Interface
- Interface in go
- Pass an Interface as an argument to a function
- Interface to struct
- Embedding interface in go
- Interface Comparison in golang
- Benefits of Interface in golang
- Pointer vs Value Receiver for interface in Go
- Declaring and Implementing an interface in golang
- Interface are implemented implicity in golang
- Type implementing multiple interfaces in go
- Print underlying type and value of an interface in golang