Getting Started
Data Types and Variables
- What is a Data Type
- Static vs Dynamic Typed Languages
- Kinds of Data Types
- Variables Syntax and Declaration
- Printing Variables
- Declaring Variables
- Variable Scope
- Zero Values
- User Input
- Find the type of variable
- Converting between types
- Constants
Operators and Control Flow
- Operators
- Comparison Operators
- Arithmetic Operators
- Logical Operators
- Assignment Operators
- Bitwise Operators
- If else and else if statements
- Switch Statement
- Looping With For
Arrays, Slices and Maps
Using Functions
- Introduction
- Function Syntax
- Return Types Multiple Named Variadic
- Recursive Functions
- Anonymous Functions
- High Order Functions
- Defer Statement
Pointers
- Introduction
- Address and Dereference Operator
- Declaring and Initialising a Pointer
- Dereferencing a pointer
- Passing by Value in Functions
- Passing by Reference in Functions
Struct, Methods and Interfaces
- Introduction Struct
- Declaring and Initialising a Struct
- Accessing Fields
- Passing Structs to Functions
- Comparing Structs
- Methods Introduction and Syntax
- Method Sets
- Interfaces Introduction and Syntax
- Implementing Interfaces